Skip to content

Commit fbacea6

Browse files
committed
fix: copy from image instead of root
1 parent 57e7633 commit fbacea6

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Dockerfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -68,8 +68,8 @@ ENV VIRTUAL_ENV=/app/.venv \
6868
PATH="/app/.venv/bin:$PATH"
6969

7070
COPY --from=python-builder --chown=smt:smt $VIRTUAL_ENV $VIRTUAL_ENV
71-
COPY --chown=smt:smt /app/sketch_map_tool sketch_map_tool
72-
COPY --chown=smt:smt /app/data data
73-
COPY --chown=smt:smt /app/config config
71+
COPY --from=python-builder --chown=smt:smt /app/sketch_map_tool sketch_map_tool
72+
COPY --from=python-builder --chown=smt:smt /app/data data
73+
COPY --from=python-builder --chown=smt:smt /app/config config
7474
COPY --from=node-builder --chown=smt:smt /sketch_map_tool/static/bundles sketch_map_tool/static/bundles
7575
# use entry-points defined in docker-compose file

0 commit comments

Comments
 (0)