This will build correctly

The build is successful :)
This commit is contained in:
Sir3lit authored and GitHub committed 2018-07-18 02:06:19 -04:00
1 parent f91ff41dff
commit 5c2eb009e2
1 file changed
+8 -6
+8 -6
View File
@@ -1,15 +1,17 @@
FROM node:latest FROM node:9.11.2
RUN apt-get update && apt install git -y RUN apt-get update && apt install git curl tar -y
RUN mkdir factorioClusterio RUN mkdir factorioClusterio
RUN git clone -b dev https://github.com/Danielv123/factorioClusterio.git && cd factorioClusterio && npm install && curl -o factorio.tar.gz -L https://www.factorio.com/get-download/latest/headless/linux64 && tar -xvzf factorio.tar.gz
RUN git clone -b master https://github.com/Danielv123/factorioClusterio.git && cd factorioClusterio && npm install
RUN cd factorioClusterio && curl -o factorio.tar.gz -L https://www.factorio.com/get-download/latest/headless/linux64 && tar -xf factorio.tar.gz
WORKDIR factorioClusterio WORKDIR factorioClusterio
RUN mkdir instances sharedMods sharedPlugins RUN mkdir instances sharedMods
RUN cp config.json.dist config.json
RUN node client.js download RUN node client.js download
LABEL maintainer "danielv@live.no" LABEL maintainer "Sir3lit@gmail.com"
EXPOSE 8080 34167 EXPOSE 8080 34167
VOLUME /factorioClusterio/instances VOLUME /factorioClusterio/instances