Skip to content

Commit 87c48e7

Browse files
Removed production Docker entrypoint (#1699)
1 parent a2ff929 commit 87c48e7

File tree

3 files changed

+3
-11
lines changed

3 files changed

+3
-11
lines changed

Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,5 +48,5 @@ RUN npm install
4848
# copy project
4949
COPY . .
5050

51-
# run docker-entrypoint.sh
52-
ENTRYPOINT ["./docker-entrypoint.prod.sh"]
51+
# ENTRYPOINT is specified only in the local docker-compose.yml to avoid
52+
# accidentally running it in deployed environments.

docker-compose.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ services:
77
dockerfile: Dockerfile
88
args:
99
- REQ_FILE=requirements/tests.txt
10-
entrypoint: docker-entrypoint.dev.sh
10+
entrypoint: ./docker-entrypoint.dev.sh
1111
command: python manage.py runserver 0.0.0.0:8000
1212
volumes:
1313
- .:/usr/src/app/

docker-entrypoint.prod.sh

Lines changed: 0 additions & 8 deletions
This file was deleted.

0 commit comments

Comments
 (0)