1
0
mirror of https://github.com/142vip/408CSFamily.git synced 2026-04-04 02:58:30 +08:00

fix: 部署脚本修改

This commit is contained in:
喜欢芝士的妹妹
2022-06-27 09:35:54 +08:00
parent 9219edb7be
commit bac72ffaa5
3 changed files with 6 additions and 5 deletions

View File

@@ -9,13 +9,13 @@ http {
include /etc/nginx/mime.types;
default_type application/octet-stream;
sendfile off;
access_log off;
access_log off; ## 关闭正常访问日志
keepalive_timeout 3000;
server {
listen 7000;
server_name localhost;
#charset koi8-r;
access_log /var/log/nginx/access.log main;
# access_log /var/log/nginx/access.log main;
error_log /var/log/nginx/error.log error;
## 静态资源代理
location / {

View File

@@ -6,6 +6,7 @@
"scripts": {
"dev": "vuepress dev docs",
"build": "vuepress build docs",
"build-image": "bash scripts/build_image.sh $npm_package_version",
"ali": "bash scripts/deploy.bash ali $npm_package_version",
"github": "bash scripts/deploy.bash github"
},

View File

@@ -2,8 +2,8 @@
## 功能本地前后端项目构建、打包镜像上传docker仓库
## 参考https://blog.csdn.net/Dontla/article/details/125210694
## 作者Rong姐姐好可爱
## 使用示例bash xxx.sh 容器名称 版本号
## - bash build_image.sh oauth_login 0.0.1
## 使用示例bash xxx.sh 版本号
## - bash build_image.sh 0.0.1
##