From edf113e18cd05edd51e9da96b2a8004382cda83a Mon Sep 17 00:00:00 2001 From: Raphael Kabo Date: Mon, 1 Jul 2024 20:01:52 +0100 Subject: Update Docker configuration --- Dockerfile | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'Dockerfile') diff --git a/Dockerfile b/Dockerfile index 2b3d1e3..1668095 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,11 +1,10 @@ -FROM node:18-alpine +FROM node:20-alpine WORKDIR /app RUN apk add --no-cache python3 build-base ADD package.json pnpm-lock.yaml /app/ RUN npm install -g pnpm -RUN pnpm install +RUN pnpm install --prod COPY . /app/ -RUN cp config/config.example.toml config/config.toml # Always exit 0 here because TSC will fail while we're migrating to TypeScript but # not everything uses TypeScript RUN pnpm run build; exit 0 -- cgit v1.2.3