mirror of
https://github.com/factoriotools/factorio-docker.git
synced 2025-03-13 19:50:08 +01:00
Apply suggestions
Co-authored-by: Florian Kinder <florian.kinder@fankserver.com>
This commit is contained in:
parent
16f2df4934
commit
e6e53c35a1
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user