mirror of
https://gitlab.com/psono/psono-admin-client
synced 2025-04-19 03:22:17 +03:00
18 lines
526 B
Docker
18 lines
526 B
Docker
FROM psono-docker.jfrog.io/nginx:alpine
|
|
|
|
LABEL maintainer="Sascha Pfeiffer <sascha.pfeiffer@psono.com>"
|
|
|
|
RUN apk upgrade --no-cache \
|
|
&& apk add --no-cache curl
|
|
|
|
COPY ./configs/nginx.conf /etc/nginx/nginx.conf
|
|
COPY ./configs/default.conf /etc/nginx/conf.d/default.conf
|
|
COPY ./configs/cmd.sh /root/cmd.sh
|
|
COPY ./build /usr/share/nginx/html/portal
|
|
COPY ./configs/redirect.html /usr/share/nginx/html/index.html
|
|
|
|
HEALTHCHECK --interval=30s --timeout=3s \
|
|
CMD curl -f http://localhost/ || exit 1
|
|
|
|
CMD ["/bin/sh", "/root/cmd.sh"]
|