2016-04-28 15:58:02 +02:00
|
|
|
FROM debian:jessie
|
|
|
|
|
|
|
|
ENV FSM_VERSION 0.2.0
|
|
|
|
|
|
|
|
RUN apt-get update && \
|
|
|
|
apt-get -y install unzip wget ca-certificates && \
|
|
|
|
apt-get clean
|
|
|
|
|
|
|
|
RUN wget https://github.com/MajorMJR/factorio-server-manager/releases/download/$FSM_VERSION/factorio-server-manager-linux-x64.zip -P /tmp/
|
|
|
|
RUN unzip /tmp/factorio-server-manager-linux-x64.zip -d /opt/
|
|
|
|
|
|
|
|
WORKDIR /opt/factorio-server
|
|
|
|
|
|
|
|
VOLUME ["/factorio"]
|
|
|
|
|
2016-04-28 16:10:38 +02:00
|
|
|
#Expose UI Port
|
2016-04-28 15:58:02 +02:00
|
|
|
EXPOSE 8080
|
|
|
|
|
2016-04-28 16:10:38 +02:00
|
|
|
#Expose UDP game port
|
|
|
|
EXPOSE 34190-34200/udp
|
|
|
|
|
2016-04-28 15:58:02 +02:00
|
|
|
ENTRYPOINT ["/opt/factorio-server/factorio-server-manager", "--dir", "/factorio"]
|