force exposed prod port to 5000
This commit is contained in:
parent
a968c6af25
commit
3b584767f3
1 changed files with 2 additions and 1 deletions
|
@ -35,12 +35,13 @@ WORKDIR /app
|
||||||
RUN mkdir -p /app/export
|
RUN mkdir -p /app/export
|
||||||
|
|
||||||
ENV PUPPETEER_EXECUTABLE_PATH=/usr/bin/chromium-browser
|
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/src/templates /app/src/templates
|
||||||
COPY --from=build /app/dist /app/dist
|
COPY --from=build /app/dist /app/dist
|
||||||
COPY --from=build /app/node_modules /app/node_modules
|
COPY --from=build /app/node_modules /app/node_modules
|
||||||
COPY --from=build /app/package.json /app/package.json
|
COPY --from=build /app/package.json /app/package.json
|
||||||
|
|
||||||
EXPOSE 5000
|
EXPOSE ${SERVER_PORT}
|
||||||
|
|
||||||
CMD [ "npm", "run", "start" ]
|
CMD [ "npm", "run", "start" ]
|
Loading…
Reference in a new issue