mirror of
https://github.com/factoriotools/factorio-docker.git
synced 2025-07-11 11:35:21 +02:00
Apply suggestions
Co-authored-by: Florian Kinder <florian.kinder@fankserver.com>
This commit is contained in:
@ -1,4 +1,5 @@
|
|||||||
FROM debian:stable-slim AS builder
|
# build rcon client
|
||||||
|
FROM debian:stable-slim AS rcon-builder
|
||||||
RUN apt-get -q update \
|
RUN apt-get -q update \
|
||||||
&& DEBIAN_FRONTEND=noninteractive apt-get -qy install build-essential
|
&& DEBIAN_FRONTEND=noninteractive apt-get -qy install build-essential
|
||||||
|
|
||||||
@ -89,7 +90,7 @@ RUN set -ox pipefail \
|
|||||||
|
|
||||||
COPY files/*.sh /
|
COPY files/*.sh /
|
||||||
COPY files/config.ini /opt/factorio/config/config.ini
|
COPY files/config.ini /opt/factorio/config/config.ini
|
||||||
COPY --from=builder /src/rcon /bin/rcon
|
COPY --from=rcon-builder /src/rcon /bin/rcon
|
||||||
|
|
||||||
VOLUME /factorio
|
VOLUME /factorio
|
||||||
EXPOSE $PORT/udp $RCON_PORT/tcp
|
EXPOSE $PORT/udp $RCON_PORT/tcp
|
||||||
|
Reference in New Issue
Block a user