mirror of
https://github.com/142vip/408CSFamily.git
synced 2026-04-04 02:58:30 +08:00
fix: 部署脚本修改
This commit is contained in:
@@ -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 / {
|
||||
|
||||
@@ -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"
|
||||
},
|
||||
|
||||
@@ -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
|
||||
##
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user