Added docker for running master server

This commit is contained in:
Danielv123 committed 2017-03-31 22:34:39 +02:00
1 parent f5516891e3
commit ff9fac842e
2 files changed
+25 -2

No files matched your search

+11
View File
@@ -0,0 +1,11 @@
FROM node:latest
RUN apt-get update && apt install git -y && git clone 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
LABEL maintainer "danielv@live.no"
EXPOSE 8080 34167
VOLUME factorioClusterio/instances
WORKDIR factorioClusterio
CMD node $MODE\.js start $INSTANCE