Skip to content

Commit

Permalink
test of Dockerfile syntax?
Browse files Browse the repository at this point in the history
  • Loading branch information
moltob committed Mar 11, 2017
1 parent 55ce948 commit 6a4771e
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -25,13 +25,7 @@ WORKDIR $bizwiz_appdir

# do not use shell form to have gunicorn start with PID 1 and handle TERM instead of shell
# docker stop --> SIGTERM to PID _1_ --> gunicorn graceful shutdown
ENTRYPOINT [ \
"gunicorn", \
"--bind 0.0.0.0:80", \
"--access-logfile data/gunicorn-access.log", \
"--error-logfile data/gunicorn-error.log", \
"bwsite.wsgi" \
]
ENTRYPOINT ["gunicorn", "--bind 0.0.0.0:80", "--access-logfile data/gunicorn-access.log", "--error-logfile data/gunicorn-error.log", "bwsite.wsgi"]

# install application
COPY . .
Expand Down

0 comments on commit 6a4771e

Please sign in to comment.