Files
szurubooru/client/docker-start-dev.sh
2024-10-12 00:50:37 +02:00

12 lines
224 B
Bash

#!/usr/bin/dumb-init /bin/sh
# Integrate environment variables
sed -i "s|__BACKEND__|${BACKEND_HOST}|" \
/etc/nginx/nginx.conf
# Start server
nginx&
# Watch source for changes and build app
npm run watch -- --polling