FROM mcr.microsoft.com/dotnet/aspnet:10.0 RUN apt-get update && apt-get install -y --no-install-recommends ffmpeg && rm -rf /var/lib/apt/lists/* WORKDIR /app COPY publish/ ./ COPY docker-entrypoint.sh /app/docker-entrypoint.sh RUN chmod 755 /app/docker-entrypoint.sh ENV ASPNETCORE_ENVIRONMENT=Production ASPNETCORE_URLS=http://+:5099 USER 1000:1000 EXPOSE 5099 ENTRYPOINT ["/app/docker-entrypoint.sh"]