Skip to content

Commit

Permalink
build(docker): only copy needed directories
Browse files Browse the repository at this point in the history
  • Loading branch information
winstxnhdw authored Oct 14, 2023
1 parent e0fc5d7 commit 1ebebde
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Dockerfile.build
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,8 @@ USER user
WORKDIR $HOME/app

COPY --chown=user --from=caddy-builder /usr/bin/caddy /usr/bin/caddy
COPY --chown=user --from=python-builder /usr/local/ /usr/local/
COPY --chown=user --from=python-builder /usr/local/bin /usr/local/bin
COPY --chown=user --from=python-builder /usr/local/lib/python3.11/site-packages /usr/local/lib/python3.11/site-packages
COPY --chown=user . $HOME/app

CMD ["supervisord"]

0 comments on commit 1ebebde

Please sign in to comment.