Apply suggestions

Co-authored-by: Florian Kinder <florian.kinder@fankserver.com>
This commit is contained in:
Tobias 2024-11-11 13:25:45 +01:00 committed by GitHub
parent 16f2df4934
commit e6e53c35a1
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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 \
&& DEBIAN_FRONTEND=noninteractive apt-get -qy install build-essential
@ -89,7 +90,7 @@ RUN set -ox pipefail \
COPY files/*.sh /
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
EXPOSE $PORT/udp $RCON_PORT/tcp