mirror of
https://github.com/Py-KMS-Organization/py-kms.git
synced 2025-05-18 17:25:23 -04:00
Fir for undefnied time zones
This commit is contained in:
parent
3806c03214
commit
cb8a95e6d6
2 changed files with 12 additions and 4 deletions
|
@ -11,7 +11,7 @@ ENV ACTIVATION_INTERVAL 120
|
|||
ENV RENEWAL_INTERVAL 10080
|
||||
ENV HWID "RANDOM"
|
||||
ENV LOGLEVEL INFO
|
||||
ENV LOGFILE /var/log/pykms_logserver.log
|
||||
ENV LOGFILE /dev/stdout
|
||||
ENV LOGSIZE ""
|
||||
|
||||
COPY ./py-kms /home/py-kms
|
||||
|
@ -25,10 +25,14 @@ RUN apk add --no-cache --update \
|
|||
python3-tkinter \
|
||||
sqlite-libs \
|
||||
py3-pip \
|
||||
tzdata \
|
||||
build-base python3-dev && \
|
||||
pip3 install peewee tzlocal pytz && \
|
||||
apk del git build-base python3-dev
|
||||
|
||||
# Fix undefined timezone, in case the user did not mount the /etc/localtime
|
||||
RUN cp /usr/share/zoneinfo/UTC /etc/localtime
|
||||
|
||||
WORKDIR /home/py-kms
|
||||
|
||||
EXPOSE ${PORT}/tcp
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue