ad prod stage

This commit is contained in:
OCram85 2022-03-16 16:59:48 +01:00
parent 4ae1a9c5b6
commit 8639c17880

View File

@ -6,7 +6,7 @@ WORKDIR /src
RUN npm install \
&& npm run build
FROM nginx:1.21.6-alpine
FROM nginx:1.21.6-alpine as prod
LABEL maintainer="marco.blessing@googlemail.com"
HEALTHCHECK --interval=15s --timeout=5s \
CMD wget --no-verbose --tries=1 --spider http://localhost:80/ || exit 1