FROM python:2.7-alpine # Set the application directory WORKDIR /app # Install requirements.txt ADD votingusecase/vote/requirements.txt /app/requirements.txt RUN pip install -r requirements.txt # Copy code from the current folder to /app inside the container ADD votingusecase/vote/app.py /app/app.py # Make port 80 available EXPOSE 80 # Define command to be run when launching the container CMD [ "python", "app:app"]