added requ.txt and dockerfiles
This commit is contained in:
+19
@@ -0,0 +1,19 @@
|
||||
# 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
|
||||
Reference in New Issue
Block a user