summaryrefslogtreecommitdiff
path: root/Dockerfile
diff options
context:
space:
mode:
authorJake Mannens <jake@asger.xyz>2026-02-01 00:42:07 +1100
committerJake Mannens <jake@asger.xyz>2026-02-01 01:50:34 +1100
commit9a75d6fffe8950eba67595e5457dfe6d6a4b0eab (patch)
tree2b84d636d854db740034d03a00956a9ca102b7e3 /Dockerfile
parentadc353665b02e5b47c5cc8b6b7a53737a631ac5c (diff)
Added Dockerfile
Diffstat (limited to 'Dockerfile')
-rw-r--r--Dockerfile11
1 files changed, 11 insertions, 0 deletions
diff --git a/Dockerfile b/Dockerfile
new file mode 100644
index 0000000..10bf5b5
--- /dev/null
+++ b/Dockerfile
@@ -0,0 +1,11 @@
+FROM mcr.microsoft.com/dotnet/sdk:8.0@sha256:aa05b91be697b83229cb000b90120f0783604ad74ed92a0b45cdf3d1a9c873de AS build
+WORKDIR /App
+
+COPY . ./
+RUN dotnet restore
+RUN dotnet publish -o out
+
+FROM mcr.microsoft.com/dotnet/aspnet:8.0@sha256:4b8f0b08534833b39bb662fb19a65e78cb086f5ca8dd35de3f87026de8885be4
+WORKDIR /App
+COPY --from=build /App/out .
+ENTRYPOINT [ "dotnet", "HyperBooru.dll" ]