Dockerfile (284B)
1FROM mcr.microsoft.com/dotnet/sdk:8.0 2WORKDIR /App 3 4ENV FLAG="CSCG{TESTFLAG}" 5# Copy everything 6COPY PhotoEditor/ ./ 7# Restore as distinct layers 8RUN dotnet restore 9# Build and publish a release 10ENTRYPOINT ["bash", "-c", "echo $FLAG > ./flag && dotnet run --urls=http://0.0.0.0:1024"]