Dockerfile.prod
This commit is contained in:
@@ -9,10 +9,12 @@ RUN npm run build
|
||||
|
||||
# --- Production stage ---
|
||||
FROM node:22-alpine3.20
|
||||
WORKDIR /app
|
||||
ENV NODE_ENV=production
|
||||
ENV ORIGIN=https://tatort.innovation-hub-niedersachsen.de
|
||||
COPY --from=build /app/build ./build
|
||||
COPY --from=build /app/package*.json ./
|
||||
COPY --from=build /app/config.json ./config.json
|
||||
RUN npm ci --omit=dev
|
||||
ENV HOST=0.0.0.0
|
||||
EXPOSE 3000
|
||||
|
||||
Reference in New Issue
Block a user