Update Dockerfile
This commit is contained in:
parent
d13fc3218a
commit
4623d7c371
1 changed files with 2 additions and 2 deletions
|
|
@ -1,5 +1,5 @@
|
||||||
# Multi-stage build with memory optimization
|
# Multi-stage build with memory optimization
|
||||||
FROM node:20-slim AS builder
|
FROM registry.nxtgauge.com/node:20-slim AS builder
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
|
|
||||||
# Skip browser downloads
|
# Skip browser downloads
|
||||||
|
|
@ -27,7 +27,7 @@ ENV NODE_OPTIONS="--max-old-space-size=4096"
|
||||||
RUN npm run build
|
RUN npm run build
|
||||||
|
|
||||||
# Runtime stage
|
# Runtime stage
|
||||||
FROM node:20-alpine
|
FROM registry.nxtgauge.com/node:20-alpine
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
|
|
||||||
# Copy built output
|
# Copy built output
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue