|
@@ -1,12 +1,10 @@
|
|
|
-FROM ubuntu:16.04
|
|
|
|
|
|
|
+FROM python:3.6
|
|
|
EXPOSE 5000
|
|
EXPOSE 5000
|
|
|
COPY ./web /home/SEEC-Judge/web
|
|
COPY ./web /home/SEEC-Judge/web
|
|
|
COPY ./lorun /home/Seec-Judge/lorun
|
|
COPY ./lorun /home/Seec-Judge/lorun
|
|
|
COPY ./setup.py /home/SEEC-Judhe/setup.py
|
|
COPY ./setup.py /home/SEEC-Judhe/setup.py
|
|
|
-RUN add-apt-repository ppa:deadsnakes/ppa \
|
|
|
|
|
- && apt-get update \
|
|
|
|
|
|
|
+RUN apt-get update \
|
|
|
&& apt-get install --no-install-recommends --no-install-suggests -y \
|
|
&& apt-get install --no-install-recommends --no-install-suggests -y \
|
|
|
- python3.6 \
|
|
|
|
|
python3-pip \
|
|
python3-pip \
|
|
|
gunicorn \
|
|
gunicorn \
|
|
|
gcc \
|
|
gcc \
|