Commit ed4a1297 authored by 周远喜's avatar 周远喜

docker file编辑。

parent ace87837
FROM mcr.microsoft.com/dotnet/aspnet:5.0 AS base
WORKDIR /app/Registry
COPY . /app/Registry
EXPOSE 10100
EXPOSE 10160
ENV ASPNETCORE_ENVIRONMENT FAT
ENV APPOLO:ENV FAT
ENV ASPNETCORE_URLS http://*:10100
ENV ASPNETCORE_URLS http://*:10160
RUN cp /usr/share/zoneinfo/Asia/Shanghai /etc/localtime && echo 'Asia/Shanghai' >/etc/timezone
ENTRYPOINT ["dotnet", "HYH.Registry.Web.Host.dll"]
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment