This commit is contained in:
jeremygan2021
2025-10-21 16:03:06 +08:00
parent 06ad58a9b3
commit 41b0e1e3e8
5 changed files with 105 additions and 2 deletions

14
docker-compose.yml Normal file
View File

@@ -0,0 +1,14 @@
version: '3.8'
services:
frontend:
build:
context: .
dockerfile: Dockerfile
ports:
- "80:80"
# volumes:
# 如果需要自定义 nginx 配置可以取消注释下面这行
# - ./nginx.conf:/etc/nginx/nginx.conf
environment:
- NODE_ENV=production