Fix nginx command
This commit is contained in:
@@ -18,7 +18,7 @@ services:
|
|||||||
|
|
||||||
nginx:
|
nginx:
|
||||||
image: nginx:1.15.12-alpine
|
image: nginx:1.15.12-alpine
|
||||||
command: /bin/bash -c "exec nginx -g 'daemon off;'"
|
command: /bin/sh -c "exec nginx -g 'daemon off;'"
|
||||||
volumes:
|
volumes:
|
||||||
- ./:/var/www
|
- ./:/var/www
|
||||||
- ./docker/nginx/default.conf:/etc/nginx/conf.d/default.conf
|
- ./docker/nginx/default.conf:/etc/nginx/conf.d/default.conf
|
||||||
|
|||||||
Reference in New Issue
Block a user