From 1c91727c8a0ce0a94e490d4ced4f7a51ade0ffff Mon Sep 17 00:00:00 2001 From: Danielv123 Date: Fri, 21 Apr 2017 10:02:39 +0200 Subject: [PATCH] docker --- Dockerfile | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index cbaed124..949a4018 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,10 +1,12 @@ FROM node:latest -RUN apt-get update && apt install git -y && 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 apt-get update && apt install git -y + +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 WORKDIR factorioClusterio - - RUN mkdir instances sharedMods sharedPlugins + RUN node client.js download LABEL maintainer "danielv@live.no"