---
# System prepended metadata

title: Docker包前端

---

# 前端打包docker
## 在dist 目錄上新建Dockerfile,該文件沒有後綴
```
FROM nginx:latest
LABEL Author imgdcn
COPY dist /usr/share/nginx/html
```

docker build -t vue3project .