Commit f1642396 authored by jonas-kr's avatar jonas-kr
Browse files

Download inside container

parent 66b9bda3
FROM python:3.8-slim-buster
# add python scripts to path --> we have to find gunicorn
ENV PATH "${PATH}:/root/.local/bin"
WORKDIR /rechteckhohlleiter
COPY ./deps/rechteckhohlleiter /rechteckhohlleiter
# download and install package
RUN ["apt-get", "update"]
RUN ["apt-get", "install", "curl", "-y"]
RUN ["apt-get", "clean"]
RUN ["curl", "", "-o", "rechteckhohlleiter-master.tar.gz"]
RUN ["tar", "-xvf", "rechteckhohlleiter-master.tar.gz"]
WORKDIR /rechteckhohlleiter-master
RUN pip install . --user
WORKDIR /rechteckhohlleiter/src
WORKDIR /rechteckhohlleiter-master/src
CMD ["gunicorn", "dashapp:server", "--bind=", "--workers=9"]
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment