2018-10-30 20:09:38 +01:00

19 lines
661 B
Docker

# The first instruction is what image we want to base our container on
# We Use an official Python runtime as a parent image
FROM python:3.6
# The enviroment variable ensures that the python output is set straight
# to the terminal with out buffering it first
ENV PYTHONUNBUFFERED 1
# create root directory for our project in the container
RUN mkdir /esther_kleinhenz_ba
# Set the working directory to /esther_kleinhenz_ba
WORKDIR /esther_kleinhenz_ba
# Copy the current directory contents into the container at /esther_kleinhenz_ba
ADD . /esther_kleinhenz_ba/
# Install any needed packages specified in requirements.txt
RUN pip install -r requirements.txt