Dockerfile

This commit is contained in:
titver968
2025-04-10 15:04:53 +02:00
parent f5f1befb38
commit 34b35f671d

View File

@@ -1,5 +1,5 @@
# --- Build stage ---
FROM node:20 AS build
FROM node:19 AS build
ENV NODE_ENV=production
ENV ORIGIN=https://tatort.innovation-hub-niedersachsen.de
ENV PNPM_HOME="/usr/local/lib/node_modules/pnpm"
@@ -23,7 +23,7 @@ COPY . .
RUN pnpm run build
# --- Production stage ---
FROM node:20
FROM node:19-alpine3.16
COPY --from=build /usr/src/app .
ENV HOST=0.0.0.0
EXPOSE 3000