Files
appco_dist/Dockerfile
T
2025-07-22 23:04:56 +03:30

14 lines
231 B
Docker

FROM node:20
WORKDIR /app
COPY . .
COPY entrypoint.sh /entrypoint.sh
RUN chmod +x /entrypoint.sh
# Environment replacement process
ENTRYPOINT ["/entrypoint.sh"]
ENV PORT=5200
EXPOSE 5200
CMD ["node", ".output/server/index.mjs"]