Rename services to remove "app"

This commit is contained in:
Ben Firshman
2016-06-18 09:14:28 -07:00
parent dd03d8937a
commit 09279e12a8
20 changed files with 32 additions and 32 deletions

18
vote/Dockerfile Normal file
View File

@ -0,0 +1,18 @@
# Using official python runtime base image
FROM python:2.7-alpine
# Set the application directory
WORKDIR /app
# Install our requirements.txt
ADD requirements.txt /app/requirements.txt
RUN pip install -r requirements.txt
# Copy our code from the current folder to /app inside the container
ADD . /app
# Make port 80 available for links and/or publish
EXPOSE 80
# 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