This commit is contained in:
2025-10-25 19:45:42 +08:00

View File

@ -3,7 +3,6 @@ USER $APP_UID
WORKDIR /app
EXPOSE 8081
FROM mcr.microsoft.com/dotnet/sdk:8.0 AS build
ARG BUILD_CONFIGURATION=Release
ARG NODE_VERSION=16.13.0
@ -41,7 +40,6 @@ RUN dotnet tool install -g Volo.Abp.Cli --version 8.3.4
ENV PATH="$PATH:/root/.dotnet/tools"
RUN npm config set registry https://repo.huaweicloud.com/repository/npm/
RUN yarn config set registry https://repo.huaweicloud.com/repository/npm/
RUN pip3 config set global.index-url https://repo.huaweicloud.com/repository/pypi/simple
RUN abp install-libs
RUN dotnet build "./KonSoft.AuthServer.csproj" -c $BUILD_CONFIGURATION -o /app/build