Skip to content

Commit

Permalink
Dockerfile: leave test-files in /code
Browse files Browse the repository at this point in the history
Commit f385352 removed the content of
/code which is great for deployment images,
but breaks the integration tests.

Only remove .git* instead, since that is
the bulk of the size of the /code directory.
  • Loading branch information
pjonsson authored and omad committed Nov 16, 2023
1 parent 95f4554 commit ebbdecd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ WORKDIR $APPDIR
# want to delete the stuff in the /code folder to keep it simple.
RUN if [ "$ENVIRONMENT" = "deployment" ] ; then\
pip install .[$ENVIRONMENT]; \
rm -rf /code/* /code/.??* ; \
rm -rf /code/* /code/.git* ; \
else \
pip install --editable .[$ENVIRONMENT]; \
fi
Expand Down

0 comments on commit ebbdecd

Please sign in to comment.