Dockerfile 390 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10 11
FROM python:3
LABEL maintainer="Alexander Lercher"

ENV http_proxy http://proxy.uni-klu.ac.at:3128/
ENV https_proxy http://proxy.uni-klu.ac.at:3128/

RUN apt-get update

EXPOSE 5000

WORKDIR /app
12

13
COPY src/rest-gateway/app/requirements.txt /app/
14
RUN pip install -r requirements.txt
15 16 17

COPY src/rest-gateway/app/ /app/
COPY src/modules/ /app/
18 19 20
RUN chmod a+x main.py

CMD ["python", "./main.py"]