Spaces:
Sleeping
Sleeping
Claude Opus 5.5
feat: remove AI assistant, Free/Plus plans, user templates API, security fixes
6d07d79 Download Dockerfile from DanilDrotik/FlowAPI: direct link, hf CLI and curl.
- Browser
- Download file 961 Bytes
-
https://huggingface.co/spaces/DanilDrotik/FlowAPI/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/DanilDrotik/FlowAPI/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/DanilDrotik/FlowAPI/resolve/main/Dockerfile
961 Bytes
| # Stage 1: Build .NET 10 API | |
| FROM mcr.microsoft.com/dotnet/sdk:10.0 AS build | |
| WORKDIR /src | |
| # Copy csproj files and restore dependencies | |
| COPY ["FlowAPI/FlowAPI.csproj", "FlowAPI/"] | |
| COPY ["FlowAPI.Application/FlowAPI.Application.csproj", "FlowAPI.Application/"] | |
| COPY ["FlowAPI.Domain/FlowAPI.Domain.csproj", "FlowAPI.Domain/"] | |
| COPY ["FlowAPI.Infrastructure/FlowAPI.Infrastructure.csproj", "FlowAPI.Infrastructure/"] | |
| RUN dotnet restore "FlowAPI/FlowAPI.csproj" | |
| # Copy everything else and build | |
| COPY . . | |
| WORKDIR "/src/FlowAPI" | |
| RUN dotnet publish "FlowAPI.csproj" -c Release -o /app/publish /p:UseAppHost=false | |
| # Stage 2: Runtime | |
| FROM mcr.microsoft.com/dotnet/aspnet:10.0 AS final | |
| WORKDIR /app | |
| ENV ASPNETCORE_URLS=http://+:7860 | |
| ENV ASPNETCORE_ENVIRONMENT=Production | |
| EXPOSE 7860 | |
| # Create persistent data directory for SQLite | |
| RUN mkdir -p /data/data | |
| # Copy published .NET app | |
| COPY --from=build /app/publish . | |
| # Set entrypoint | |
| ENTRYPOINT ["dotnet", "FlowAPI.dll"] | |