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