diff options
| author | Jake Mannens <jake@asger.xyz> | 2026-05-22 00:52:16 +1000 |
|---|---|---|
| committer | Jake Mannens <jake@asger.xyz> | 2026-05-23 22:22:55 +1000 |
| commit | 12eaa5814ef20b0910e8d64a753378b6f6797989 (patch) | |
| tree | 062cf477c29054e0f089cb80f0cd79a9f3b7ccd9 /Server/Dockerfile | |
| parent | 6de5d7f5364fe1d54703da6d6b7cb08ea26e939f (diff) | |
Initial commitwasm-initial
Diffstat (limited to 'Server/Dockerfile')
| -rw-r--r-- | Server/Dockerfile | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/Server/Dockerfile b/Server/Dockerfile new file mode 100644 index 0000000..7769bf4 --- /dev/null +++ b/Server/Dockerfile @@ -0,0 +1,16 @@ +FROM mcr.microsoft.com/dotnet/sdk:10.0@sha256:f061e5a7532b36fa1d1b684857fe1f504ba92115b9934f154643266613c44c62 AS build +WORKDIR /App/Server + +COPY Server /App/Server +COPY ApiModels /App/ApiModels +RUN dotnet restore +RUN dotnet publish -o out + +FROM mcr.microsoft.com/dotnet/aspnet:10.0@sha256:ccdca44cd4f256d50187f920dc8ccc2a9ea7a8a4597ac1d51e08fddb2e3b3205 +RUN apt update +RUN apt install -y imagemagick tesseract-ocr tesseract-ocr-eng +RUN apt clean +RUN rm -rf /var/lib/apt/lists/* +WORKDIR /App +COPY --from=build /App/Server/out . +ENTRYPOINT [ "dotnet", "HyperBooru.dll" ] |
