Env Vars - Support for container env vars.

Now you can configure your container using Environmet vars.
This commit is contained in:
2024-05-12 13:21:28 +02:00
parent 0039b09d98
commit f8365e05af
5 changed files with 48 additions and 2 deletions
+2
View File
@@ -20,4 +20,6 @@ RUN npm ci && npm run build
FROM nginx:stable-alpine as final-prod
COPY --from=builder /app/dist /usr/share/nginx/html
EXPOSE 80
COPY scripts/env.sh /docker-entrypoint.d/env.sh
RUN chmod +x /docker-entrypoint.d/env.sh
CMD ["nginx", "-g", "daemon off;"]