danylokhodus commited on
Commit
63edfe2
·
1 Parent(s): a5a9f69

revert: port back to 7860 - HF Space uses 7860

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -3
Dockerfile CHANGED
@@ -17,10 +17,9 @@ RUN dotnet publish "FlowAPI.csproj" -c Release -o /app/publish /p:UseAppHost=fal
17
  # Stage 2: Runtime
18
  FROM mcr.microsoft.com/dotnet/aspnet:10.0 AS final
19
  WORKDIR /app
20
- # HF Space proxy routes to port 8080 (sets HTTP_PORTS=8080 env var)
21
- ENV ASPNETCORE_URLS=http://+:8080
22
  ENV ASPNETCORE_ENVIRONMENT=Production
23
- EXPOSE 8080
24
 
25
  # Create persistent data directory for SQLite
26
  RUN mkdir -p /data/data
 
17
  # Stage 2: Runtime
18
  FROM mcr.microsoft.com/dotnet/aspnet:10.0 AS final
19
  WORKDIR /app
20
+ ENV ASPNETCORE_URLS=http://+:7860
 
21
  ENV ASPNETCORE_ENVIRONMENT=Production
22
+ EXPOSE 7860
23
 
24
  # Create persistent data directory for SQLite
25
  RUN mkdir -p /data/data