Skip to content

Commit

Permalink
Removal of version file dependency for Docker build
Browse files Browse the repository at this point in the history
  • Loading branch information
pgaetani authored Feb 15, 2024
1 parent f3ad522 commit 0e50619
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -34,10 +34,6 @@ RUN echo "Installing python dependencies" \

COPY app app

# This should fail if there's no version present
# run `make generate-version-file` for local dev
COPY app/version.py app/version.py

COPY application.py gunicorn_config.py ./
COPY --from=frontend-build /usr/frontend/app/static app/static
COPY --from=frontend-build /usr/frontend/app/templates app/templates
Expand All @@ -46,4 +42,4 @@ RUN chown -R notify:notify /home/vcap/app

USER notify

CMD ["sh", "-c", "gunicorn -c gunicorn_config.py application"]
CMD ["sh", "-c", "gunicorn -c gunicorn_config.py application"]

0 comments on commit 0e50619

Please sign in to comment.