Skip to content

Commit

Permalink
Update Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
ahosgood committed Aug 12, 2024
1 parent 1b10878 commit 6654958
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,8 @@ RUN mkdir /app/app/static/assets; \
cp -r /app/node_modules/@nationalarchives/frontend/nationalarchives/assets/* /app/app/static/assets

# Delete source files and tests
RUN rm -fR /app/src /app/test

RUN poetry run python /app/manage.py collectstatic --no-input --clear
RUN rm -fR /app/src /app/test; \
RUN poetry run python /app/manage.py collectstatic --no-input --clear

# Run the application
CMD ["tna-run", "config.wsgi:application"]

0 comments on commit 6654958

Please sign in to comment.