增加arm镜像支持

This commit is contained in:
lijianyou
2025-10-20 13:48:25 +08:00
parent 3e296ab027
commit 2e13fe3ba8
6 changed files with 19 additions and 32 deletions
+10
View File
@@ -0,0 +1,10 @@
#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 mcr.microsoft.com/dotnet/aspnet:6.0-focal-arm64v8 AS base
WORKDIR /app
EXPOSE 10101
COPY . .
ENV ASPNETCORE_URLS http://*:10101
ENTRYPOINT ["dotnet", "dy.net.dll"]
ENV TZ=Asia/Shanghai