代码拉取完成,页面将自动刷新
# FROM mcr.microsoft.com/dotnet/sdk:7.0 AS base
# RUN curl -fsSL https://deb.nodesource.com/setup_current.x | bash - && apt-get install -y nodejs
# RUN apt-get update && apt-get install -y libfontconfig1
FROM registry.cn-hangzhou.aliyuncs.com/masa/dotnet_sdk:7.0_nodejs17_libfontconfig1
# FROM registry.cn-hangzhou.aliyuncs.com/masa/dotnet_sdk:6.0.100_nodejs16_libfontconfig1
# FROM registry.cn-hangzhou.aliyuncs.com/masa/dotnet_sdk:6.0.100-preview.7-nodejs14.16.1
# RUN apt-get update && apt-get install -y libfontconfig1
ENV LANG="zh_CN.UTF-8"
ENV LANGUAGE="zh_CN:zh"
ENV ASPNETCORE_URLS=http://0.0.0.0:5000
WORKDIR /app
COPY . .
RUN dotnet build docs/Masa.Docs.Server -c Release
ENTRYPOINT ["dotnet","./docs/Masa.Docs.Server/bin/Release/net7.0/Masa.Docs.Server.dll"]
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。