mirror of
https://github.com/OpenFactorioServerManager/factorio-server-manager.git
synced 2024-12-27 02:43:45 +02:00
27 lines
658 B
Plaintext
27 lines
658 B
Plaintext
# Glibc is required for Factorio Server binaries to run
|
|
FROM frolvlad/alpine-glibc
|
|
|
|
ENV FACTORIO_VERSION=latest \
|
|
ADMIN_USER=admin \
|
|
ADMIN_PASS=factorio \
|
|
RCON_PASS="" \
|
|
COOKIE_ENCRYPTION_KEY=""
|
|
|
|
VOLUME /opt/fsm-data /opt/factorio/saves /opt/factorio/mods /opt/factorio/config
|
|
|
|
EXPOSE 80/tcp 34197/udp
|
|
|
|
RUN apk add --no-cache curl tar xz unzip jq
|
|
|
|
WORKDIR /opt
|
|
|
|
# Install FSM
|
|
COPY factorio-server-manager-linux.zip /factorio-server-manager-linux.zip
|
|
RUN unzip /factorio-server-manager-linux.zip \
|
|
&& rm /factorio-server-manager-linux.zip \
|
|
&& mv factorio-server-manager fsm
|
|
|
|
COPY entrypoint.sh /opt
|
|
|
|
ENTRYPOINT ["/opt/entrypoint.sh"]
|