Learn.VideoAnalysis/VideoAnalysis/Dockerfile

17 lines
682 B
Docker

#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
WORKDIR /app
EXPOSE 80
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
#
ENTRYPOINT ["dotnet", "Learn.VideoAnalysis.dll"]