Spaces:
Sleeping
Sleeping
Vanderson da Silva Quintino commited on
Commit ·
232e09a
1
Parent(s): 8fb6238
fix: Dockerfile build stage name
Browse files- Dockerfile +2 -2
Dockerfile
CHANGED
|
@@ -4,7 +4,7 @@ EXPOSE 7860
|
|
| 4 |
|
| 5 |
RUN apt-get update && apt-get install -y ffmpeg python3 curl && curl -L https://github.com/yt-dlp/yt-dlp/releases/latest/download/yt-dlp -o /usr/local/bin/yt-dlp && chmod a+rx /usr/local/bin/yt-dlp && rm -rf /var/lib/apt/lists/*
|
| 6 |
|
| 7 |
-
FROM mcr.microsoft.com/dotnet/sdk:9.0 AS
|
| 8 |
WORKDIR /src
|
| 9 |
COPY src/ClipForge.Api/ClipForge.Api.csproj ClipForge.Api/
|
| 10 |
COPY src/ClipForge.Core/ClipForge.Core.csproj ClipForge.Core/
|
|
@@ -21,4 +21,4 @@ COPY --from=publish /app/publish .
|
|
| 21 |
RUN mkdir -p /app/output/audio /app/output/videos /app/output/thumbnails /app/output/subtitles /app/output/temp
|
| 22 |
ENV ASPNETCORE_URLS=http://+:7860
|
| 23 |
ENV ASPNETCORE_ENVIRONMENT=Production
|
| 24 |
-
ENTRYPOINT ["dotnet", "ClipForge.Api.dll"]
|
|
|
|
| 4 |
|
| 5 |
RUN apt-get update && apt-get install -y ffmpeg python3 curl && curl -L https://github.com/yt-dlp/yt-dlp/releases/latest/download/yt-dlp -o /usr/local/bin/yt-dlp && chmod a+rx /usr/local/bin/yt-dlp && rm -rf /var/lib/apt/lists/*
|
| 6 |
|
| 7 |
+
FROM mcr.microsoft.com/dotnet/sdk:9.0 AS publish
|
| 8 |
WORKDIR /src
|
| 9 |
COPY src/ClipForge.Api/ClipForge.Api.csproj ClipForge.Api/
|
| 10 |
COPY src/ClipForge.Core/ClipForge.Core.csproj ClipForge.Core/
|
|
|
|
| 21 |
RUN mkdir -p /app/output/audio /app/output/videos /app/output/thumbnails /app/output/subtitles /app/output/temp
|
| 22 |
ENV ASPNETCORE_URLS=http://+:7860
|
| 23 |
ENV ASPNETCORE_ENVIRONMENT=Production
|
| 24 |
+
ENTRYPOINT ["dotnet", "ClipForge.Api.dll"]
|