blumonilr 5 tahun lalu
induk
melakukan
ed58fac643
1 mengubah file dengan 5 tambahan dan 3 penghapusan
  1. 5 3
      Dockerfile

+ 5 - 3
Dockerfile

@@ -1,15 +1,17 @@
-FROM ubuntu:14.04
+FROM ubuntu:16.04
 EXPOSE 5000
 COPY ./web /home/SEEC-Judge/web
 COPY ./lorun /home/Seec-Judge/lorun
 COPY ./setup.py /home/SEEC-Judhe/setup.py
-RUN apt-get update \
+RUN add-apt-repository ppa:deadsnakes/ppa \
+    && apt-get update \
     && apt-get install --no-install-recommends --no-install-suggests -y \
     python3.6 \
     python3-pip \
     gunicorn \
     gcc \
-    java \
+    default-jre \
+    default-jdk \
     aptitude \
     g++
 RUN update-alternatives --install /usr/bin/python3 python3 /usr/bin/python3.6 2