init
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
XinWei 2024-07-27 17:01:24 +08:00
parent 8ba035a2d7
commit 2e4ab22717
2 changed files with 8 additions and 4 deletions

View File

@ -13,7 +13,7 @@ steps:
# commands: # commands:
# - npm run test # - npm run test
#- name: deploy - name: deploy
# image: nginx:1.21 image: nginx:1.21
# commands: commands:
# - cp -r build/* /usr/share/nginx/html - cp -r build/* /usr/share/nginx/html

4
Dockerfile Normal file
View File

@ -0,0 +1,4 @@
FROM nginx:1.21
# 将本地的 build 文件夹内容复制到 Nginx 默认的 web 目录
COPY build/ /usr/share/nginx/html/