1
0
mirror of https://github.com/bplein/factorio-docker.git synced 2025-01-10 03:16:41 +02:00

Made some minor correction on dockerfile

This commit is contained in:
Christophe Vandekerchove 2016-03-10 11:01:15 +01:00
parent bc55163f5c
commit 52bd19356f

View File

@ -6,7 +6,13 @@ WORKDIR /opt
COPY ./smart_launch.sh /opt
RUN echo "# Installing WGET" && \
CMD ["./smart_launch.sh"]
EXPOSE 34197/udp
VOLUME "/opt/factorio/saves"
RUN echo "# Installing curl" && \
apt-get update && \
apt-get install -y curl && \
echo "# Downloading and unzipping factorio" && \
@ -16,10 +22,3 @@ RUN echo "# Installing WGET" && \
apt-get autoremove -y --purge && \
apt-get clean && \
rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
CMD ["./smart_launch.sh"]
EXPOSE 34197/udp
VOLUME "/opt/factorio/saves"