force exposed prod port to 5000

This commit is contained in:
Julian Krauser 2025-01-06 10:38:39 +01:00 committed by Anton Schegg
parent a968c6af25
commit 3b584767f3

View file

@ -35,12 +35,13 @@ WORKDIR /app
RUN mkdir -p /app/export
ENV PUPPETEER_EXECUTABLE_PATH=/usr/bin/chromium-browser
ENV SERVER_PORT=5000
COPY --from=build /app/src/templates /app/src/templates
COPY --from=build /app/dist /app/dist
COPY --from=build /app/node_modules /app/node_modules
COPY --from=build /app/package.json /app/package.json
EXPOSE 5000
EXPOSE ${SERVER_PORT}
CMD [ "npm", "run", "start" ]