FROM mom/dotnet/sdk:3.1-base
WORKDIR /webapihost
EXPOSE 80

COPY ./ /webapihost
# linux oracle ʱ timezone
ENV TIME_ZONE Asia/Shanghai               
RUN echo "${TIME_ZONE}" > /etc/timezone 
RUN ln -sf /usr/share/zoneinfo/${TIME_ZONE} /etc/localtime
ENTRYPOINT ["dotnet", "SIE.WebApiHost.dll"]