mirror of
https://github.com/johndoe6345789/docker-swarm-termina.git
synced 2026-04-24 13:45:01 +00:00
Add entrypoint script to configure API URL
This commit is contained in:
3
frontend/entrypoint.sh
Normal file
3
frontend/entrypoint.sh
Normal file
@@ -0,0 +1,3 @@
|
||||
#!/bin/sh
|
||||
sed -i "s|{{NEXT_PUBLIC_API_URL}}|${NEXT_PUBLIC_API_URL}|g" /app/public/env.js
|
||||
exec "$@"
|
||||
Reference in New Issue
Block a user