Update Dockerfile.dev
All checks were successful
InnoHub Processor/tatort/pipeline/head This commit looks good
All checks were successful
InnoHub Processor/tatort/pipeline/head This commit looks good
This commit is contained in:
@@ -1,5 +1,5 @@
|
|||||||
# --- Build stage ---
|
# --- Build stage ---
|
||||||
FROM node:22 AS build
|
FROM node:24-alpine AS build
|
||||||
ENV NODE_ENV=development
|
ENV NODE_ENV=development
|
||||||
ENV ORIGIN=https://tatort-dev.innovation-hub-niedersachsen.de
|
ENV ORIGIN=https://tatort-dev.innovation-hub-niedersachsen.de
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
@@ -11,7 +11,7 @@ RUN npm run build
|
|||||||
RUN npm run init_db
|
RUN npm run init_db
|
||||||
|
|
||||||
# --- Production stage ---
|
# --- Production stage ---
|
||||||
FROM node:22-alpine3.20
|
FROM node:24-alpine
|
||||||
COPY --from=build /app .
|
COPY --from=build /app .
|
||||||
ENV HOST=0.0.0.0
|
ENV HOST=0.0.0.0
|
||||||
EXPOSE 3000
|
EXPOSE 3000
|
||||||
|
|||||||
Reference in New Issue
Block a user