py2 dockerfile fix folder and .log file

This commit is contained in:
Matteo ℱan 2019-06-04 00:23:51 +02:00 committed by GitHub
parent f13581f6dd
commit 774d69ce99
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -62,8 +62,8 @@ ENV LOGLEVEL ERROR
# EN: log file
# RU: Лог-файл
ENV LOGFILE /var/log/pykms_server.log
# Use this flag to set an output Logfile. The default is "/var/log/pykms_server.log".
ENV LOGFILE /var/log/pykms_logserver.log
# Use this flag to set an output Logfile. The default is "/var/log/pykms_logserver.log".
# EN: Startup script
# RU: Скрипт автозапуска
@ -102,7 +102,7 @@ chmod a+x /usr/bin/start.sh && \
apk del git py2-pip
# Set Workdir
WORKDIR /home/py-kms/py2-kms
WORKDIR /home/py-kms/py-kms
# Expose ports
EXPOSE ${PORT}/tcp