Update Dockerfile

This commit is contained in:
Yatima 2021-02-17 15:52:35 +01:00 committed by GitHub
parent 0a50f9facd
commit 8662f512ef
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,14 +1,12 @@
FROM ubuntu:18.04 FROM ubuntu:18.04
ENV VERSION="v1.6.7"
ENV PASSWORD="changethis"
ENV MOTD="Welcome to our Docker Syncplay server!" ENV MOTD="Welcome to our Docker Syncplay server!"
ENV PORT=8999 ENV PORT=8999
ENV PASSWORD="changethis"
ENV SALT="changethis" ENV SALT="changethis"
RUN apt update RUN apt update
RUN apt-get install -y make git python3 python3-twisted python3-pyside RUN apt-get install -y make python3 python3-twisted python3-pyside
RUN git checkout $VERSION
RUN make install RUN make install
EXPOSE $PORT EXPOSE $PORT