diff options
Diffstat (limited to 'Dockerfile')
-rw-r--r-- | Dockerfile | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -7,8 +7,8 @@ RUN apk add --no-cache python3 make gcc g++ libc-dev sqlite-dev | |||
7 | COPY . /server-build | 7 | COPY . /server-build |
8 | 8 | ||
9 | ENV CI=true | 9 | ENV CI=true |
10 | RUN NPM_VERSION=$(node -p 'require("./package.json").engines.npm'); npm i -g npm@$NPM_VERSION | 10 | RUN PNPM_VERSION=$(node -p 'require("./package.json").engines.pnpm'); npm i -g pnpm@$PNPM_VERSION |
11 | RUN npm ci --build-from-source --sqlite=/usr/local | 11 | RUN pnpm install --config.build-from-source=sqlite --config.sqlite=/usr/local |
12 | 12 | ||
13 | # ---- RUNTIME IMAGE ---------------------------------------------------------- | 13 | # ---- RUNTIME IMAGE ---------------------------------------------------------- |
14 | FROM node:16.18.1-alpine | 14 | FROM node:16.18.1-alpine |