diff --git a/docker/Dockerfile-administration-service b/docker/Dockerfile-administration-service index 40342922da..dcee2b0123 100644 --- a/docker/Dockerfile-administration-service +++ b/docker/Dockerfile-administration-service @@ -27,10 +27,11 @@ WORKDIR /src/administration/Administration.Service RUN dotnet publish "Administration.Service.csproj" -c Release -o /app/publish FROM base AS final -ENV COMPlus_EnableDiagnostics=0 +ENV \ + COMPlus_EnableDiagnostics=0 \ + ASPNETCORE_URLS=http://+:8080 WORKDIR /app COPY --from=publish /app/publish . -ENV ASPNETCORE_URLS http://+:8080 EXPOSE 8080 RUN chown -R 1000:3000 /app USER 1000:3000