Use bind mounts instead of build for immediate edits
This commit is contained in:
@@ -1,10 +1,15 @@
|
||||
version: '3.8'
|
||||
services:
|
||||
services-homepage:
|
||||
build: .
|
||||
image: nginx:alpine
|
||||
container_name: services-homepage
|
||||
ports:
|
||||
- "8088:80"
|
||||
volumes:
|
||||
- ./index.html:/usr/share/nginx/html/index.html:ro
|
||||
- ./services.xml:/usr/share/nginx/html/services.xml:ro
|
||||
- ./styles.css:/usr/share/nginx/html/styles.css:ro
|
||||
- ./logos:/usr/share/nginx/html/logos:ro
|
||||
restart: unless-stopped
|
||||
logging:
|
||||
driver: json-file
|
||||
|
||||
Reference in New Issue
Block a user