mirror of
https://github.com/DrizzleTime/Foxel.git
synced 2026-07-21 04:22:42 +08:00
feat: implement database initialization and admin user setup
This commit is contained in:
@@ -26,6 +26,7 @@ RUN dotnet publish "./Foxel.csproj" -c $BUILD_CONFIGURATION -o /app/publish /p:U
|
||||
|
||||
FROM base AS final
|
||||
WORKDIR /app
|
||||
# Format: Host=yourhost;Username=foxel;Password=foxel;Database=foxel
|
||||
ENV DEFAULT_CONNECTION="YourDefaultConnectionStringHere"
|
||||
COPY --from=publish /app/publish .
|
||||
RUN apt-get update && apt-get install -y nginx && rm -rf /var/lib/apt/lists/*
|
||||
|
||||
Reference in New Issue
Block a user