FROM mcr.microsoft.com/dotnet/core/aspnet:3.1 WORKDIR /app COPY . . EXPOSE 8001 ENV ASPNETCORE_URLS "http://*:8001" ENV ASPNETCORE_ENVIRONMENT "PD" ENTRYPOINT ["dotnet", "dotnetcore-docker.dll"]
进入docker容器内部:
docker exec -it 6a92baf196f2 /bin/bash
2022-09-29 20:34:14
FROM mcr.microsoft.com/dotnet/core/aspnet:3.1 WORKDIR /app COPY . . EXPOSE 8001 ENV ASPNETCORE_URLS "http://*:8001" ENV ASPNETCORE_ENVIRONMENT "PD" ENTRYPOINT ["dotnet", "dotnetcore-docker.dll"]
进入docker容器内部:
docker exec -it 6a92baf196f2 /bin/bash
下一篇:sql 查重