Added new webui support into docker

This commit is contained in:
simonmicro 2022-12-11 21:56:08 +01:00
parent ca7ba46507
commit 5674e26979
No known key found for this signature in database
GPG key ID: 033A4D4CE4E063D6
4 changed files with 22 additions and 6 deletions

View file

@ -14,7 +14,6 @@ ENV LOGFILE STDOUT
ENV LOGSIZE ""
ENV TZ America/Chicago
COPY py-kms /home/py-kms/
COPY docker/docker-py3-kms/requirements.txt /home/py-kms/
RUN apk add --no-cache --update \
bash \
@ -33,14 +32,17 @@ RUN apk add --no-cache --update \
# Fix undefined timezone, in case the user did not mount the /etc/localtime
&& ln -sf /usr/share/zoneinfo/UTC /etc/localtime
COPY py-kms /home/py-kms/
COPY docker/entrypoint.py /usr/bin/entrypoint.py
COPY docker/start.py /usr/bin/start.py
COPY LICENSE /LICENSE
RUN chmod 755 /usr/bin/entrypoint.py
WORKDIR /home/py-kms
EXPOSE ${PORT}/tcp
EXPOSE 8080/tcp
HEALTHCHECK --interval=5m --timeout=3s --start-period=10s --retries=4 CMD echo | nc -z ${IP%% *} ${PORT} || exit 1