Skip to content

Commit

Permalink
Removed production Docker entrypoint (#1699)
Browse files Browse the repository at this point in the history
  • Loading branch information
tobiasmcnulty authored Oct 27, 2024
1 parent a2ff929 commit 87c48e7
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 11 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -48,5 +48,5 @@ RUN npm install
# copy project
COPY . .

# run docker-entrypoint.sh
ENTRYPOINT ["./docker-entrypoint.prod.sh"]
# ENTRYPOINT is specified only in the local docker-compose.yml to avoid
# accidentally running it in deployed environments.
2 changes: 1 addition & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ services:
dockerfile: Dockerfile
args:
- REQ_FILE=requirements/tests.txt
entrypoint: docker-entrypoint.dev.sh
entrypoint: ./docker-entrypoint.dev.sh
command: python manage.py runserver 0.0.0.0:8000
volumes:
- .:/usr/src/app/
Expand Down
8 changes: 0 additions & 8 deletions docker-entrypoint.prod.sh

This file was deleted.

0 comments on commit 87c48e7

Please sign in to comment.