8 lines
375 B
Docker
8 lines
375 B
Docker
FROM nginx:1.28-alpine
|
|
RUN rm -rf /usr/share/nginx/html
|
|
COPY deploy/nginx.conf /etc/nginx/conf.d/default.conf
|
|
COPY deploy/legacy-map.conf /etc/nginx/conf.d/00-videoreg-legacy.conf
|
|
COPY web-front/out/ /usr/share/nginx/html/
|
|
EXPOSE 8080
|
|
HEALTHCHECK --interval=30s --timeout=3s --start-period=5s --retries=3 CMD wget -qO- http://127.0.0.1:8080/health/ready >/dev/null || exit 1
|