From f52342988dbda13893c565eb4e41e3d521cf408c Mon Sep 17 00:00:00 2001 From: luoer <952222@163.com> Date: Wed, 1 Nov 2023 08:47:38 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E9=83=A8=E7=BD=B2=E5=A2=9E=E5=8A=A0alp?= =?UTF-8?q?ine=E9=95=9C=E5=83=8F=E6=BA=90=E8=AE=BE=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Dockerfile | 1 + package.json | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 252567f..e00724c 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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 diff --git a/package.json b/package.json index 6b44894..a8ce9a5 100644 --- a/package.json +++ b/package.json @@ -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",