Files
42_INT_13_inception/srcs/requirements/nginx/Dockerfile
hugo gogo 428dc1ecee made a makefile
+ added names of images and container in compose
+ have a functionnal nginx dockerfile
2022-08-30 11:23:38 +02:00

12 lines
258 B
Docker

FROM debian:buster
RUN apt update && apt install -y nginx
COPY ./conf/nginx.conf /etc/nginx/
COPY ./conf/inception_nginx.conf /etc/nginx/conf.d/
COPY ./conf/index.html /data/www/
COPY ./conf/salade.jpeg /data/images/
CMD [ "nginx", "-g", "daemon off;" ]