Added TTS

This commit is contained in:
2025-06-16 18:52:35 -04:00
parent 630d5d9f40
commit 96f43895fb
9 changed files with 166 additions and 5 deletions

View File

@@ -2,8 +2,15 @@
# This stage is used when running from VS in fast mode (Default for Debug configuration)
FROM mcr.microsoft.com/dotnet/aspnet:8.0 AS base
USER $APP_UID
WORKDIR /app
# Install ffmpeg before switching user
RUN apt-get update && \
apt-get install -y ffmpeg && \
rm -rf /var/lib/apt/lists/*
USER $APP_UID
EXPOSE 8080
EXPOSE 8081
@@ -26,5 +33,11 @@ RUN dotnet publish "./Astrocore.Api.csproj" -c $BUILD_CONFIGURATION -o /app/publ
# This stage is used in production or when running from VS in regular mode (Default when not using the Debug configuration)
FROM base AS final
WORKDIR /app
# Install ffmpeg
RUN apt-get update && \
apt-get install -y ffmpeg && \
rm -rf /var/lib/apt/lists/*
COPY --from=publish /app/publish .
ENTRYPOINT ["dotnet", "Astrocore.Api.dll"]
ENTRYPOINT ["dotnet", "Astrocore.Api.dll"]