diff --git a/Dockerfile.backend b/Dockerfile.backend index b2b132b..a59b2b8 100644 --- a/Dockerfile.backend +++ b/Dockerfile.backend @@ -41,7 +41,8 @@ LABEL org.opencontainers.image.title="JiZhi Backend" \ org.opencontainers.image.source="https://gitea.nxsir.cn/nanxun/jizhi" WORKDIR /app COPY --from=api-build --chown=$APP_UID:$APP_UID /app/publish/ ./ -ENV ASPNETCORE_URLS=http://0.0.0.0:8080 \ +ENV URLS=http://0.0.0.0:8080 \ + ASPNETCORE_URLS=http://0.0.0.0:8080 \ ASPNETCORE_HTTP_PORTS=8080 \ DOTNET_EnableDiagnostics=0 USER $APP_UID