|
@@ -1,16 +1,18 @@
|
|
|
-FROM python:3.6
|
|
|
|
|
|
|
+FROM ubuntu:14.04
|
|
|
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 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 \
|
|
|
- default-libmysqlclient-dev \
|
|
|
|
|
|
|
+ python3.6 \
|
|
|
|
|
+ python3-pip \
|
|
|
gunicorn \
|
|
gunicorn \
|
|
|
gcc \
|
|
gcc \
|
|
|
java \
|
|
java \
|
|
|
aptitude \
|
|
aptitude \
|
|
|
g++
|
|
g++
|
|
|
|
|
+RUN update-alternatives --install /usr/bin/python3 python3 /usr/bin/python3.6 2
|
|
|
RUN pip3 install virtualenv \
|
|
RUN pip3 install virtualenv \
|
|
|
&& pip3 install Flask
|
|
&& pip3 install Flask
|
|
|
RUN cd /home/SEEC-Judge \
|
|
RUN cd /home/SEEC-Judge \
|