made a makefile
+ added names of images and container in compose + have a functionnal nginx dockerfile
This commit is contained in:
@@ -12,3 +12,9 @@ services:
|
||||
build:
|
||||
context: ./requirements/test
|
||||
dockerfile: Dockerfile
|
||||
image: test
|
||||
container_name: mytest
|
||||
# test:
|
||||
# build:
|
||||
# context: ./requirements/test
|
||||
# dockerfile: Dockerfile
|
||||
|
||||
@@ -7,5 +7,5 @@ COPY ./conf/inception_nginx.conf /etc/nginx/conf.d/
|
||||
COPY ./conf/index.html /data/www/
|
||||
COPY ./conf/salade.jpeg /data/images/
|
||||
|
||||
CMD [ "nginx" ]
|
||||
CMD [ "nginx", "-g", "daemon off;" ]
|
||||
|
||||
|
||||
Reference in New Issue
Block a user