Update 'vote/Dockerfile'
This commit is contained in:
parent
415842ab33
commit
a2da99f6d8
@ -1,5 +1,5 @@
|
|||||||
# Using official python runtime base image
|
# Using official python runtime base image
|
||||||
FROM python:2.7-alpine
|
FROM python:2.7
|
||||||
|
|
||||||
# Set the application directory
|
# Set the application directory
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
@ -15,4 +15,4 @@ ADD . /app
|
|||||||
EXPOSE 80
|
EXPOSE 80
|
||||||
|
|
||||||
# Define our command to be run when launching the container
|
# Define our command to be run when launching the container
|
||||||
CMD ["gunicorn", "app:app", "-b", "0.0.0.0:80", "--log-file", "-", "--access-logfile", "-", "--workers", "4", "--keep-alive", "0"]
|
CMD ["python", "app.py"]
|
||||||
|
Loading…
Reference in New Issue
Block a user