testing: run DB init script before server start
All checks were successful
InnoHub Processor/tatort/pipeline/head This commit looks good

This commit is contained in:
2025-10-13 13:41:46 +02:00
parent 04b5aaa0dc
commit ddee170aea

View File

@@ -15,5 +15,5 @@ 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
RUN npm run init-db CMD ["sh", "-c", "npm run init-db"]
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"]