website/app/docker/entry.sh
2024-10-06 17:30:25 +03:00

8 lines
167 B
Bash

#!/bin/sh
# replace the API URL
find ./build -type f -exec sed "s/http:\/\/placeholder\//${API_URL//\//\\/}/g" -i "{}" \;
# start the application
bun build/index.js