diff --git a/Dockerfile.dev b/Dockerfile.dev index 5ed6945..b45bb60 100644 --- a/Dockerfile.dev +++ b/Dockerfile.dev @@ -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"] \ No newline at end of file +CMD ["sh", "-c", "ORIGIN=https://tatort-dev.innovation-hub-niedersachsen.de node build/index.js"]