From 2f243e328271a287eed25178cc308c7905af4576 Mon Sep 17 00:00:00 2001 From: Yatima Santamorena Date: Fri, 16 Apr 2021 17:43:02 +0200 Subject: [PATCH] better Dockerfile --- Dockerfile | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/Dockerfile b/Dockerfile index ac7da97..42805d1 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,17 +1,16 @@ - -FROM python:alpine3.13 +FROM ubuntu:18.04 ENV MOTD="Welcome to our Docker Syncplay server!" ENV PORT=8999 ENV PASSWORD="changethis" ENV SALT="changethis" -RUN apk update && apk add make -#RUN apt update -#RUN apt-get install -y make python3 python3-twisted python3-pyside +RUN apt update && apt-get install -y make python3 python3-twisted COPY . /syncplay -RUN cd syncplay && make install +WORKDIR syncplay + +RUN make install EXPOSE $PORT