Move everything into the root directory

The separate vote-apps directory was because networking didn't
used to support aliases to remove the project name.

Signed-off-by: Ben Firshman <ben@firshman.co.uk>
This commit is contained in:
Ben Firshman
2016-01-25 18:23:19 +00:00
parent 94c0d7b507
commit 878cdeb583
18 changed files with 1 additions and 2 deletions

18
voting-app/Dockerfile Normal file
View File

@ -0,0 +1,18 @@
# Using official python runtime base image
FROM python:2.7
# 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 5000 available for links and/or publish
EXPOSE 80
# Define our command to be run when launching the container
CMD ["python", "app.py"]