better Dockerfile
This commit is contained in:
parent
31a7a134f0
commit
2f243e3282
11
Dockerfile
11
Dockerfile
@ -1,17 +1,16 @@
|
|||||||
|
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 apk update && apk add make
|
RUN apt update && apt-get install -y make python3 python3-twisted
|
||||||
#RUN apt update
|
|
||||||
#RUN apt-get install -y make python3 python3-twisted python3-pyside
|
|
||||||
|
|
||||||
COPY . /syncplay
|
COPY . /syncplay
|
||||||
RUN cd syncplay && make install
|
WORKDIR syncplay
|
||||||
|
|
||||||
|
RUN make install
|
||||||
|
|
||||||
EXPOSE $PORT
|
EXPOSE $PORT
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user