Loading search index…
No recent searches
No results for "Query here"
Criar um container com a imagem base do Linux Alpine, rodando Nginx e com healthcheck. O nome do container " giropops-web" e deve rodar na porta 80.
vim Dockerfile
FROM alpine:3.18 LABEL maintainer="raps_rnb@hotmail.com" RUN apk add --no-cache nginx curl EXPOSE 80 ENTRYPOINT ["nginx"] CMD ["-g", "daemon off;"] HEALTHCHECK --interval=5s --timeout=3s CMD curl -f http://localhost/ || exit 1
docker build -t giropops-web:1.0 .
docker container run -d -p 80:80 --name giropops-web giropops-web:1.0