Update Dockerfile.dev
All checks were successful
InnoHub Processor/tatort/pipeline/head This commit looks good

This commit is contained in:
Daniel
2025-07-25 10:07:23 +02:00
parent 52e9eba7ed
commit cf567451bb

View File

@@ -8,10 +8,11 @@ RUN npm i --unsafe-perm
COPY . ./
COPY config_dev.json ./config.json
RUN npm run build
RUN npm run init_db
# --- Production stage ---
FROM node:22-alpine3.20
COPY --from=build /app .
ENV HOST=0.0.0.0
EXPOSE 3000
CMD ["sh", "-c", "ORIGIN=https://tatort-dev.innovation-hub-niedersachsen.de node build/index.js"]
CMD ["sh", "-c", "ORIGIN=https://tatort-dev.innovation-hub-niedersachsen.de node build/index.js"]