forked from biseque/stationeers
-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathDockerfile
30 lines (23 loc) · 760 Bytes
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
FROM steamcmd/steamcmd
LABEL MAINTAINER https://github.com/dtandersen/stationeers
RUN apt-get update && \
apt-get install -y pwgen gosu
ENV STEAMCMD=/usr/bin/steamcmd \
APP_DIR=/opt/stationeers \
PROFILE_DIR=/var/opt/stationeers \
AUTOSAVEINTERVAL=600 \
WORLDNAME=Stationeers \
WORLDTYPE=Mars
# LOG_DIR=$STATE_DIR/logs
# SAVE_DIR=$STATE_DIR/saves
ENV BRANCH=public
COPY docker-entrypoint.sh /
#RUN mkdir -p /home/steam/stationeers && \
# touch /home/steam/stationeers/default.ini && \
# touch /home/steam/stationeers/blocked.txt
#VOLUME /home/steam/stationeers
VOLUME $PROFILE_DIR
EXPOSE 27500/udp 27500/tcp 27015/udp
WORKDIR $APP_DIR
ENTRYPOINT ["/docker-entrypoint.sh"]
CMD [ "rocketstation_DedicatedServer.x86_64" ]