This commit is contained in:
parent
8ba035a2d7
commit
2e4ab22717
@ -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
4
Dockerfile
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
FROM nginx:1.21
|
||||||
|
|
||||||
|
# 将本地的 build 文件夹内容复制到 Nginx 默认的 web 目录
|
||||||
|
COPY build/ /usr/share/nginx/html/
|
Loading…
Reference in New Issue
Block a user