mirror of
https://github.com/RedWizardsLab/EchoHub.git
synced 2026-09-05 23:34:09 +02:00
feat: add Docker support with environment configuration and entrypoint script
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
#!/bin/sh
|
||||
|
||||
# Persist appsettings.json in the data volume so auto-generated keys
|
||||
# (JWT secret, encryption key) survive container recreation.
|
||||
if [ ! -f /app/data/appsettings.json ]; then
|
||||
cp /app/appsettings.example.json /app/data/appsettings.json
|
||||
fi
|
||||
ln -sf /app/data/appsettings.json /app/appsettings.json
|
||||
|
||||
exec dotnet EchoHub.Server.dll
|
||||
Reference in New Issue
Block a user