collection.dockerfile/alpine/nginx/Dockerfile

7 lines
197 B
Docker
Raw Normal View History

2022-01-17 15:56:05 +08:00
FROM alpine:latest
ENV container docker
RUN apk update; apk upgrade; apk add nginx nginx-mod-http-dav-ext
RUN mkdir -p /run/nginx
EXPOSE 80
CMD [ "/usr/sbin/nginx", "-c", "/etc/nginx/nginx.conf" ]