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
|
2024-04-04 12:39:43 +08:00
|
|
|
COPY index.html /var/www/index.html
|
2022-01-17 15:56:05 +08:00
|
|
|
EXPOSE 80
|
|
|
|
CMD [ "/usr/sbin/nginx", "-c", "/etc/nginx/nginx.conf" ]
|