cloudnet-compose/vote/Dockerfile

19 lines
444 B
Docker
Raw Normal View History

2015-11-15 20:59:29 +01:00
# Using official python runtime base image
2020-04-24 16:47:13 +02:00
FROM python:2.7
2015-11-15 20:59:29 +01:00
# 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
2015-11-15 20:59:29 +01:00
# Define our command to be run when launching the container
2020-04-24 16:47:13 +02:00
CMD ["python", "app.py"]