Commit e91937f4 by guanzhenshan

更改netcore版本2.1=》2.2

parent 20f5824e
FROM microsoft/dotnet:2.1-aspnetcore-runtime AS base FROM mcr.microsoft.com/dotnet/core/runtime:2.2-stretch-slim AS base
WORKDIR /app WORKDIR /app
EXPOSE 80 EXPOSE 80
RUN /bin/cp /usr/share/zoneinfo/Asia/Shanghai /etc/localtime && echo 'Asia/Shanghai' >/etc/timezone RUN /bin/cp /usr/share/zoneinfo/Asia/Shanghai /etc/localtime && echo 'Asia/Shanghai' >/etc/timezone
FROM microsoft/dotnet:2.1-sdk AS build FROM mcr.microsoft.com/dotnet/core/runtime:2.2-stretch-slim AS build
WORKDIR /src WORKDIR /src
COPY Bailun.DC.Web/Bailun.DC.Web.csproj Bailun.DC.Web/ COPY Bailun.DC.Web/Bailun.DC.Web.csproj Bailun.DC.Web/
COPY Bailun.DC.Services/Bailun.DC.Services.csproj Bailun.DC.Services/ COPY Bailun.DC.Services/Bailun.DC.Services.csproj Bailun.DC.Services/
......
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