Warning, /wikitolearn/wikitolearn-courses-backend/src/Dockerfile is written in an unsupported language. File is not indexed.

0001 FROM debian:9
0002 
0003 ENV PYTHONUNBUFFERED=True
0004 
0005 RUN sed -i 's#deb.debian.org#ba.mirror.garr.it/mirrors#g' /etc/apt/sources.list
0006 RUN apt-get update
0007 RUN apt-get install -y python3
0008 RUN apt-get install -y python3-setuptools
0009 RUN apt-get install -y ca-certificates
0010 RUN easy_install3 pip
0011 
0012 ADD requirements.txt /opt/
0013 RUN pip3 install -r /opt/requirements.txt
0014 
0015 ARG SERVICE_PORT
0016 ENV SERVICE_PORT=${SERVICE_PORT}
0017 EXPOSE ${SERVICE_PORT}
0018 
0019 ENTRYPOINT python3 /opt/app.py
0020 ADD app.py /opt/