python as base image

This commit is contained in:
Yatima Santamorena 2021-04-16 16:59:00 +02:00
parent d5096dc348
commit 31a7a134f0

View File

@ -1,12 +1,14 @@
FROM ubuntu:18.04
FROM python:alpine3.13
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 PASSWORD="changethis"
ENV SALT="changethis" ENV SALT="changethis"
RUN apt update RUN apk update && apk add make
RUN apt-get install -y make python3 python3-twisted python3-pyside #RUN apt update
#RUN apt-get install -y make python3 python3-twisted python3-pyside
COPY . /syncplay COPY . /syncplay
RUN cd syncplay && make install RUN cd syncplay && make install