42_Inception/srcs/nginx/Dockerfile
2023-10-04 10:01:11 -04:00

15 lines
221 B
Docker

FROM alpine:3.18.4
RUN apk update
RUN apk add nginx
RUN adduser -D -g 'www' www
RUN mkdir /www
RUN chown -R www:www /var/lib/nginx
RUN chown -R www:www /www
COPY nginx.conf /etc/nginx/nginx.conf
ENTRYPOINT ["nginx"]