We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a2ff929 commit 87c48e7Copy full SHA for 87c48e7
Dockerfile
@@ -48,5 +48,5 @@ RUN npm install
48
# copy project
49
COPY . .
50
51
-# run docker-entrypoint.sh
52
-ENTRYPOINT ["./docker-entrypoint.prod.sh"]
+# ENTRYPOINT is specified only in the local docker-compose.yml to avoid
+# accidentally running it in deployed environments.
docker-compose.yml
@@ -7,7 +7,7 @@ services:
7
dockerfile: Dockerfile
8
args:
9
- REQ_FILE=requirements/tests.txt
10
- entrypoint: docker-entrypoint.dev.sh
+ entrypoint: ./docker-entrypoint.dev.sh
11
command: python manage.py runserver 0.0.0.0:8000
12
volumes:
13
- .:/usr/src/app/
docker-entrypoint.prod.sh
0 commit comments