You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
390 B
Docker
22 lines
390 B
Docker
FROM mcr.microsoft.com/dotnet/sdk:6.0-alpine AS build
|
|
|
|
ENV DOTNET_CLI_TELEMETRY_OPTOUT=true
|
|
|
|
WORKDIR /DepotDownloader
|
|
|
|
COPY ./ ./
|
|
|
|
RUN dotnet restore
|
|
|
|
RUN dotnet publish -c Release -o out
|
|
|
|
FROM mcr.microsoft.com/dotnet/runtime:6.0-alpine
|
|
|
|
ENV DOTNET_CLI_TELEMETRY_OPTOUT=true
|
|
|
|
WORKDIR /DepotDownloader
|
|
|
|
COPY --from=build /DepotDownloader/out .
|
|
|
|
ENTRYPOINT ["dotnet", "DepotDownloader.dll"]
|