11 lines
332 B
YAML
11 lines
332 B
YAML
services:
|
|
web:
|
|
image: node:18-alpine
|
|
container_name: website-dev
|
|
working_dir: /app
|
|
network_mode: host
|
|
volumes:
|
|
- /opt/docker/Website:/app
|
|
command: sh -c "npm cache clean --force && rm -rf node_modules package-lock.json && npm install && npm run dev -- --host --port 8097"
|
|
restart: unless-stopped
|