This commit is contained in:
+2
-2
@@ -1,7 +1,7 @@
|
||||
# Byggas från backend-mappen: docker build -t recipe-api:local .
|
||||
|
||||
# Stage 1: Bygg applikationen
|
||||
FROM node:22-alpine AS builder
|
||||
FROM node:24.15.0-alpine AS builder
|
||||
WORKDIR /app
|
||||
|
||||
# Kopiera backend-filer
|
||||
@@ -19,7 +19,7 @@ RUN npm test
|
||||
RUN npm run build
|
||||
|
||||
# Stage 2: Kör applikationen
|
||||
FROM node:22-alpine AS runner
|
||||
FROM node:24.15.0-alpine AS runner
|
||||
WORKDIR /app
|
||||
ENV NODE_ENV=production
|
||||
|
||||
|
||||
Reference in New Issue
Block a user