arma3-docker/Dockerfile

30 lines
738 B
Docker
Raw Normal View History

2022-08-27 12:24:17 +00:00
FROM cm2network/steamcmd:latest
LABEL org.opencontainers.image.source=https://git.kapelle.org/niklas/arma3-docker
COPY entrypoint.sh /home/steam/entrypoint.sh
RUN mkdir -p /home/steam/server && \
chown steam:steam /home/steam/server && \
bash -c 'mkdir -p /home/steam/volumes/{config,missions,mods,servermods}' && \
chown steam:steam -R /home/steam/volumes/
USER steam
VOLUME /home/steam/server
2022-09-05 16:00:37 +00:00
VOLUME /home/steam/server/mpmissions
# VOLUME /home/steam/volumes/missions
2022-08-27 12:24:17 +00:00
VOLUME /home/steam/volumes/config
VOLUME /home/steam/volumes/mods
VOLUME /home/steam/volumes/servermods
WORKDIR /home/steam/server
EXPOSE 2302/udp
EXPOSE 2303/udp
EXPOSE 2304/udp
EXPOSE 2305/udp
EXPOSE 2306/udp
ENTRYPOINT /home/steam/entrypoint.sh