Update 'vote/Dockerfile'

This commit is contained in:
Torma Kristóf 2020-04-24 16:47:13 +02:00
parent 415842ab33
commit a2da99f6d8

View File

@ -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"]