File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -3,8 +3,8 @@ FROM node@sha256:426f843809ae05f324883afceebaa2b9cab9cb697097dbb1a2a7a41c5701de7
3
3
# Install ImageMagick and AWS CLI
4
4
RUN apk add --no-cache imagemagick aws-cli
5
5
6
- # Set NODE_OPTIONS for OpenSSL compatibility
7
- ENV NODE_OPTIONS=--openssl-legacy-provider
6
+ # Set NODE_OPTIONS for OpenSSL compatibility and limit memory usage
7
+ ENV NODE_OPTIONS=" --openssl-legacy-provider --max-old-space-size=768"
8
8
9
9
WORKDIR /app
10
10
COPY package.json package-lock.json ./
Original file line number Diff line number Diff line change @@ -62,9 +62,9 @@ ingress:
62
62
63
63
resources :
64
64
limits :
65
- memory : 2Gi
66
- requests :
67
65
memory : 1Gi
66
+ requests :
67
+ memory : 512Mi
68
68
# Additional resource settings can be added as needed
69
69
# limits:
70
70
# cpu: 100m
You can’t perform that action at this time.
0 commit comments