fix: frontend and backend now get variables at build time not runtime

This commit is contained in:
theoleuthardt 2025-02-28 11:29:44 +01:00
parent 607d496f2a
commit 776ed29bca
6 changed files with 17 additions and 11 deletions

View file

@ -61,7 +61,11 @@ USER fastify
EXPOSE 4000
ARG CORS_ALLOWED_ORIGIN
ENV CORS_ALLOWED_ORIGIN=$CORS_ALLOWED_ORIGIN
ENV PORT=4000
ENV HOSTNAME="0.0.0.0"
CMD ["node", "dist/server.js"]