Merge pull request 'ci/cd : 第3次测试' (#7) from master into dev

Reviewed-on: http://git.feashow.cn/clay/tunnel-cloud-web/pulls/7
This commit is contained in:
clay
2023-12-02 08:38:14 +00:00
2 changed files with 1 additions and 2 deletions

View File

@@ -16,7 +16,7 @@ steps:
- export NODE_MODULES_PATH=`pwd`/node_modules
- npm config set registry https://registry.npm.taobao.org
- set NODE_OPTIONS=--openssl-legacy-provider
- npm install
# - npm install
- npm run build
- echo $NODE_MODULES_PATH
- cp -r dist /app/build/$DRONE_REPO_NAME

View File

@@ -2,7 +2,6 @@ FROM nginx
RUN rm -rf /etc/nginx/conf.d/default.conf
RUN rm -rf /etc/nginx/nginx.conf
COPY default.conf /etc/nginx/conf.d
COPY nginx.conf /etc/nginx/
#RUN useradd -b /home/clay -m -s /bin/bash clay