version: '2' services: blog: container_name: vite-blog image: node:18-alpine3.18 volumes: - .:/usr/src/app:rw environment: TZ: Asia/Shanghai working_dir: /usr/src/app network_mode: host entrypoint: ['./entrypoint.sh','src:dev']