Dockerfile 465 Bytes
Newer Older
1 2 3
FROM python:3
LABEL maintainer="Alexander Lercher"

4 5
#ENV http_proxy http://proxy.uni-klu.ac.at:3128/
#ENV https_proxy http://proxy.uni-klu.ac.at:3128/
6 7 8 9 10 11 12 13 14 15 16 17 18 19

RUN apt-get update

EXPOSE 5000
WORKDIR /app

COPY src/participation-hub/federated-learning-microservice/app/requirements.txt /app/
RUN pip install -r requirements.txt

COPY src/modules/ /app/
COPY src/participation-hub/federated-learning-microservice/app/ /app/
RUN chmod a+x main.py

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