Update Dockerfile.dev
All checks were successful
InnoHub Processor/tatort/pipeline/head This commit looks good
All checks were successful
InnoHub Processor/tatort/pipeline/head This commit looks good
This commit is contained in:
@@ -8,10 +8,11 @@ RUN npm i --unsafe-perm
|
|||||||
COPY . ./
|
COPY . ./
|
||||||
COPY config_dev.json ./config.json
|
COPY config_dev.json ./config.json
|
||||||
RUN npm run build
|
RUN npm run build
|
||||||
|
RUN npm run init_db
|
||||||
|
|
||||||
# --- Production stage ---
|
# --- Production stage ---
|
||||||
FROM node:22-alpine3.20
|
FROM node:22-alpine3.20
|
||||||
COPY --from=build /app .
|
COPY --from=build /app .
|
||||||
ENV HOST=0.0.0.0
|
ENV HOST=0.0.0.0
|
||||||
EXPOSE 3000
|
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"]
|
||||||
|
|||||||
Reference in New Issue
Block a user