diff options
Diffstat (limited to 'Dockerfile')
-rw-r--r-- | Dockerfile | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -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 |