FROM mcr.microsoft.com/dotnet/runtime-deps:6.0 ENV \ ASPNETCORE_URLS=http://*:80 \ DOTNET_RUNNING_IN_CONTAINER=true \ PROGET_SQL_CONNECTION_STRING="Data Source=proget-sql; Initial Catalog=ProGet; User Id=sa; Password=;" \ PROGET_SVC_MODE=both EXPOSE 80 COPY proget/ /usr/local/proget/ VOLUME /var/proget/packages VOLUME /var/proget/extensions WORKDIR /usr/local/proget/ CMD /usr/local/proget/service/ProGet.Service run --mode=`$PROGET_SVC_MODE --linuxContainer