Massive update #2

This commit is contained in:
Uggla
2015-05-08 19:09:52 +02:00
parent 1125c5b796
commit 5d37d7aa33
6 changed files with 24 additions and 16 deletions
+10 -2
View File
@@ -1,5 +1,7 @@
FROM ubuntu:vivid
MAINTAINER uggla@free.fr
LABEL PAServer
LABEL version="1.0" description="PAServer in docker. Port used 20545"
EXPOSE 20545
ENV DEBIAN_FRONTEND noninteractive
RUN apt-get update && \
@@ -14,9 +16,11 @@ RUN useradd -k /etc/skel -m pa
COPY auth_papatcher.sh /home/pa/auth_papatcher.sh
COPY NodePAMaster_conf.json /home/pa/NodePAMaster_conf.json
COPY update_conf_file.sh /home/pa/update_conf_file.sh
COPY runServer.sh /home/pa/runServer.sh
COPY *.sed /home/pa/
RUN chown pa:pa /home/pa/auth_papatcher.sh && \
chown pa:pa /home/pa/update_conf_file.sh && \
chown pa:pa /home/pa/runServer.sh && \
chown pa:pa /home/pa/NodePAMaster_conf.json && \
chown pa:pa /home/pa/*.sed
USER pa
@@ -27,5 +31,9 @@ wget https://dl.dropboxusercontent.com/u/28565393/Planetary%20Annihilation/colou
RUN chmod +x /home/pa/auth_papatcher.sh && \
chmod +x /home/pa/papatcher.go && \
unzip /home/pa/NodePAMaster.zip && \
/home/pa/auth_papatcher.sh && \
cp color_table.js ./.local/Uber\ Entertainment/Planetary\ Annihilation/stable/media/server-script/lobby/color_table.js
/home/pa/auth_papatcher.sh
RUN cp color_table.js ./.local/Uber\ Entertainment/Planetary\ Annihilation/stable/media/server-script/lobby/color_table.js && \
chmod +x /home/pa/update_conf_file.sh && \
/home/pa/update_conf_file.sh
RUN cp /home/pa/NodePAMaster_conf.json /home/pa/NodePAMaster/src/conf.json
ENTRYPOINT ["node.js", "./NodePAMaster/src/control.js"]