We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5a5ea4a commit f1a5ac5Copy full SHA for f1a5ac5
Dockerfile
@@ -1,9 +1,11 @@
1
# Use Debian-based Node.js image as the base for building
2
-FROM node:slim AS build
+FROM node:22-slim AS build
3
4
# Set the working directory
5
WORKDIR /usr/src/app
6
7
+ENV NODE_OPTIONS="--max-old-space-size=4096"
8
+
9
# Install dependencies and SQLite
10
RUN apt-get update && apt-get install -y --no-install-recommends \
11
sqlite3 \
@@ -32,7 +34,7 @@ COPY ./ ./
32
34
RUN pnpm build
33
35
36
# Use a Debian-based Node.js image for production
-FROM node:slim AS production
37
+FROM node:22-slim AS production
38
39
40
0 commit comments