a
This commit is contained in:
@@ -1,11 +1,13 @@
|
|||||||
version: '3.8'
|
version: '3.8'
|
||||||
|
|
||||||
services:
|
services:
|
||||||
nginx:
|
web:
|
||||||
image: nginx:alpine
|
image: node:18-alpine
|
||||||
container_name: website-nginx
|
container_name: website-dev
|
||||||
network_mode: host
|
working_dir: /app
|
||||||
|
ports:
|
||||||
|
- "8097:5173"
|
||||||
volumes:
|
volumes:
|
||||||
- /opt/docker/Website:/usr/share/nginx/html:ro
|
- /opt/docker/Website:/app
|
||||||
- ./nginx.conf:/etc/nginx/conf.d/default.conf:ro
|
command: sh -c "npm install && npm run dev -- --host"
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
Reference in New Issue
Block a user