Create the missing pointer file. Put the pid file in /var/lib/nginx/run.

This commit is contained in:
Kyle Bostelmann 2016-09-27 18:32:02 -03:00
parent 4905073e87
commit 4df8c96238
2 changed files with 2 additions and 1 deletions

View File

@ -21,6 +21,7 @@ RUN curl -s -L -S -k https://www.factorio.com/get-download/$FACTORIO_VERSION/hea
curl -s -L -S -k https://github.com/MajorMJR/factorio-server-manager/releases/download/$MANAGER_VERSION/factorio-server-manager-linux-x64.zip --cacert /opt/github.pem -o /tmp/factorio-server-manager-linux-x64_$MANAGER_VERSION.zip && \
unzip -qq /tmp/factorio-server-manager-linux-x64_$MANAGER_VERSION.zip && \
rm /tmp/factorio-server-manager-linux-x64_$MANAGER_VERSION.zip && \
mkdir -p /run/nginx && \
chown nginx:root /var/lib/nginx
EXPOSE 80/tcp 443/tcp 34190-34200/udp

View File

@ -5,7 +5,7 @@ worker_processes 1;
#error_log logs/error.log notice;
#error_log logs/error.log info;
#pid logs/nginx.pid;
pid run/nginx.pid;
events {