2025-07-22 23:04:56 +03:30
|
|
|
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"]
|