diff options
Diffstat (limited to 'solve/Dockerfile')
| -rw-r--r-- | solve/Dockerfile | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/solve/Dockerfile b/solve/Dockerfile new file mode 100644 index 0000000..b4f97b2 --- /dev/null +++ b/solve/Dockerfile @@ -0,0 +1,10 @@ +FROM mcr.microsoft.com/dotnet/sdk:8.0 +WORKDIR /App + +ENV FLAG="CSCG{TESTFLAG}" +# Copy everything +COPY PhotoEditor/ ./ +# Restore as distinct layers +RUN dotnet restore +# Build and publish a release +ENTRYPOINT ["bash", "-c", "echo $FLAG > ./flag && dotnet run --urls=http://0.0.0.0:1024"]
\ No newline at end of file |
