Commit c9f5a5cd authored by Matthieu Lamalle's avatar Matthieu Lamalle

Correction on Dockerfile for missed python packages

parent ade4568e
......@@ -76,8 +76,8 @@ ARG TIRAMISU_WEB_REPO_REF=9ce55c7d3262c0013f9c3a6e509bd15518c39724
ARG TIRAMISU_WEB_DEST_DIR=/tmp/build/tiramisu-web
RUN git clone "${TIRAMISU_WEB_REPO_URL}" /tmp/tiramisu-web \
&& cd /tmp/tiramisu-web \
&& git checkout "${TIRAMISU_WEB_REPO_REF}"
&& git checkout "${TIRAMISU_WEB_REPO_REF}" \
&& python3 setup.py install --root ${TIRAMISU_WEB_DEST_DIR}
####
......@@ -152,6 +152,17 @@ COPY containerpilot.json5 /etc/containerpilot.json5
## Service specific
##
RUN apt-get update -y && apt-get install -y \
python3-ipy
# Tiramisu
COPY --from=build /tmp/build/tiramisu/usr/share/locale /usr/share/locale
COPY --from=build /tmp/build/tiramisu/usr/local/lib/python3.6/dist-packages/tiramisu/ /usr/local/lib/python3.6/dist-packages/tiramisu/
COPY --from=build /tmp/tiramisu/tiramisu/storage/cache /usr/local/lib/python3.6/dist-packages/tiramisu/storage/cache
COPY --from=build /tmp/tiramisu/tiramisu/storage/dictionary /usr/local/lib/python3.6/dist-packages/tiramisu/storage/dictionary
COPY --from=build /tmp/tiramisu/tiramisu/storage/sqlalchemy /usr/local/lib/python3.6/dist-packages/tiramisu/storage/sqlalchemy
COPY --from=build /tmp/tiramisu/tiramisu/storage/sqlite3 /usr/local/lib/python3.6/dist-packages/tiramisu/storage/sqlite3
# Tiramisu Web
COPY --from=build /tmp/tiramisu-web/src/python/tiramisu_web /usr/lib/python3/dist-packages/tiramisu_web
# Controller
RUN mkdir -p /srv/bin
COPY scripts/controller /srv/bin
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment