42_Inception/srcs/nginx/Dockerfile

15 lines
221 B
Docker
Raw Normal View History

2023-10-04 10:01:11 -04:00
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"]