Update dockerfile

This commit is contained in:
2025-04-21 22:25:00 +02:00
parent 2bfd1b100e
commit 4c236f8b65

View File

@@ -10,7 +10,7 @@ WORKDIR /app
COPY package*.json ./
# Install dependencies
RUN npm ci
RUN npm install
# Copy source files
COPY . .
@@ -30,7 +30,7 @@ RUN addgroup -g 1001 -S nodejs && \
# Install only production dependencies
COPY package*.json ./
RUN npm ci --omit=dev
RUN npm install --omit=dev
# Copy built application from the build stage
COPY --from=build /app/build ./build