website/app/docker/entry.sh

8 lines
169 B
Bash
Raw Normal View History

#!/bin/bash
2024-10-06 17:30:25 +03:00
# replace the API URL
find ./build -type f -exec sed "s/http:\/\/placeholder\//${API_URL//\//\\/}/g" -i "{}" \;
# start the application
bun build/index.js