docker-vue3/docker-compose.yml

18 lines
456 B
YAML

version: "3.1"
services:
node-resty:
image: wandoubaba517/node-resty:18.18.2
container_name: node-resty
restart: always
volumes:
- ./docker-entrypoint.sh:/usr/local/bin/docker-entrypoint.sh
- ./:/app/web
- ./nginx.conf:/usr/local/openresty/nginx/conf/nginx.conf
- ./dist:/usr/local/openresty/nginx/html
working_dir: /app/web
stdin_open: true
network_mode: host
# command: ["npm", "run", "build"]