updated pyton versions and wrote hilfsbibliotheken

This commit is contained in:
Esther Kleinhenz
2018-11-03 00:09:52 +01:00
parent 3b9f4c33f2
commit a577e47acc
126 changed files with 13605 additions and 853 deletions
+35 -8
View File
@@ -1,19 +1,46 @@
# 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
#FROM python:3.6
# FROM directive instructing base image to build upon
FROM python:3.6.6
# The enviroment variable ensures that the python output is set straight
# to the terminal with out buffering it first
ENV PYTHONUNBUFFERED 1
#ENV PYTHONUNBUFFERED 1
# App directory
RUN mkdir -p /usr/src/app
WORKDIR /usr/src/app
# Install azure event hub client dependencies
#COPY p /usr/src/app/
# Bundle app source
COPY . /usr/src/app
# COPY startup script into known file location in container
COPY start.sh /start.sh
# create root directory for our project in the container
RUN mkdir /esther_kleinhenz_ba
#RUN mkdir /esther_kleinhenz_ba
# Set the working directory to /esther_kleinhenz_ba
WORKDIR /esther_kleinhenz_ba
# EXPOSE port 8000 to allow communication to/from server
#EXPOSE 8000
# Copy the current directory contents into the container at /esther_kleinhenz_ba
ADD . /esther_kleinhenz_ba/
RUN set -x \
&& buildDeps='curl gcc libc6-dev libsqlite3-dev libssl-dev make xz-utils zlib1g-dev'
# Install any needed packages specified in requirements.txt
RUN pip install -r requirements.txt
RUN pip install -r requirements.txt
# Set the working directory to /esther_kleinhenz_ba
#WORKDIR /esther_kleinhenz_ba
# CMD specifcies the command to execute to start the server running.
CMD ["/start.sh"]
# done!
# Copy the current directory contents into the container at /esther_kleinhenz_ba
#ADD . /esther_kleinhenz_ba/