mirror of
https://github.com/Py-KMS-Organization/py-kms.git
synced 2025-05-17 00:24:51 -04:00
Added new webui support into docker
This commit is contained in:
parent
ca7ba46507
commit
5674e26979
4 changed files with 22 additions and 6 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue