aboutsummaryrefslogtreecommitdiffstats
path: root/Dockerfile
diff options
context:
space:
mode:
authorLibravatar Balaji Vijayakumar <kuttibalaji.v6@gmail.com>2022-12-09 12:59:26 +0530
committerLibravatar Vijay Aravamudhan <vraravam@users.noreply.github.com>2022-12-09 13:51:05 +0530
commitacb0a6f117987e44b91eda1be9ad44d70238b8fc (patch)
treec2a1fff569df611ddfd2310bdefe45f912e4b736 /Dockerfile
parentFix logic used to check if there were local changes in docker builds (diff)
downloadferdium-server-acb0a6f117987e44b91eda1be9ad44d70238b8fc.tar.gz
ferdium-server-acb0a6f117987e44b91eda1be9ad44d70238b8fc.tar.zst
ferdium-server-acb0a6f117987e44b91eda1be9ad44d70238b8fc.zip
migrate npm to pnpm for build
Diffstat (limited to 'Dockerfile')
-rw-r--r--Dockerfile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Dockerfile b/Dockerfile
index ea0e952..9fba794 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -7,8 +7,8 @@ RUN apk add --no-cache python3 make gcc g++ libc-dev sqlite-dev
7COPY . /server-build 7COPY . /server-build
8 8
9ENV CI=true 9ENV CI=true
10RUN NPM_VERSION=$(node -p 'require("./package.json").engines.npm'); npm i -g npm@$NPM_VERSION 10RUN PNPM_VERSION=$(node -p 'require("./package.json").engines.pnpm'); npm i -g pnpm@$PNPM_VERSION
11RUN npm ci --build-from-source --sqlite=/usr/local 11RUN pnpm install --config.build-from-source=sqlite --config.sqlite=/usr/local
12 12
13# ---- RUNTIME IMAGE ---------------------------------------------------------- 13# ---- RUNTIME IMAGE ----------------------------------------------------------
14FROM node:16.18.1-alpine 14FROM node:16.18.1-alpine