summaryrefslogtreecommitdiff
path: root/Dockerfile
diff options
context:
space:
mode:
authorJake Mannens <jake@asger.xyz>2026-05-06 22:33:52 +1000
committerJake Mannens <jake@asger.xyz>2026-05-06 22:33:52 +1000
commit2b66d00175950d845a794422433d4a350cf87775 (patch)
tree8b0a77d43d80faab235c14008206a926d4566859 /Dockerfile
parent60dd44153b5f2b233dc66032507ee6c9a925ed0e (diff)
v0.13av0.13a
Diffstat (limited to 'Dockerfile')
-rw-r--r--Dockerfile7
1 files changed, 4 insertions, 3 deletions
diff --git a/Dockerfile b/Dockerfile
index 55a86db..7769bf4 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -1,7 +1,8 @@
FROM mcr.microsoft.com/dotnet/sdk:10.0@sha256:f061e5a7532b36fa1d1b684857fe1f504ba92115b9934f154643266613c44c62 AS build
-WORKDIR /App
+WORKDIR /App/Server
-COPY . ./
+COPY Server /App/Server
+COPY ApiModels /App/ApiModels
RUN dotnet restore
RUN dotnet publish -o out
@@ -11,5 +12,5 @@ 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/out .
+COPY --from=build /App/Server/out .
ENTRYPOINT [ "dotnet", "HyperBooru.dll" ]