feat: 部署增加alpine镜像源设置
自动部署 / build (push) Successful in 10m11s Details

master
luoer 2023-11-01 08:47:38 +08:00
parent 623779467f
commit f52342988d
2 changed files with 2 additions and 1 deletions

View File

@ -1,4 +1,5 @@
FROM node:18-alpine As dev
RUN sed -i 's/dl-cdn.alpinelinux.org/mirrors.tuna.tsinghua.edu.cn/g' /etc/apk/repositories
RUN apk update && apk add sqlite
RUN apk add --no-cache --virtual .build-deps g++ gcc libgcc libstdc++ linux-headers make python3
WORKDIR /app

View File

@ -9,7 +9,7 @@
"prebuild": "rimraf dist",
"nest:dev": "nest start --watch",
"dev": "nest build --webpack --webpackPath webpack.config.js --watch",
"build": "nest build --webpack --webpackPath webpack.config.js",
"build": "nest build",
"nest:build": "nest build",
"format": "prettier --write \"src/**/*.ts\" \"test/**/*.ts\"",
"start": "nest start",