You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
paopao-ce/web/Dockerfile

9 lines
204 B

FROM library/nginx
USER root
# copy static files
COPY ./dist/ /usr/share/nginx/html/
# HEALTHCHECK
HEALTHCHECK --interval=5s --timeout=3s --retries=3 CMD service nginx status | grep running || exit 1