#See https://aka.ms/customizecontainer to learn how to customize your debug container and how Visual Studio uses this Dockerfile to build your images for faster debugging. FROM dotnet/aspnet:8.0 RUN ["apt-get", "--assume-yes", "update"] RUN ["apt-get", "--assume-yes", "install", "ffmpeg"] WORKDIR /app EXPOSE 9040 COPY . . #设置时间为中国上海 环境为开发环境 ENV TZ=Asia/Shanghai #RUN echo "deb https://mirrors.tuna.tsinghua.edu.cn/debian/ sid main contrib non-free" > /etc/apt/sources.list #RUN apt-get update && apt-get install -y apt-transport-https ca-certificates apt-utils libgdiplus libc6-dev && apt-get install -y libfreetype6 && apt-get install -y libfontconfig1 && apt-get install -y fontconfig # ENV ASPNETCORE_URLS=http://+:9040 ENTRYPOINT ["dotnet", "Learn.VideoAnalysis.dll"]