From 0cd058ccbb89009535e57b66ae393d7ac9cd0b0d Mon Sep 17 00:00:00 2001 From: nihonium Date: Wed, 8 Oct 2025 19:39:25 +0300 Subject: [PATCH] fix: docker build context --- .forgejo/workflows/build-and-deploy.yml | 1 + Dockerfiles/Dockerfile_server | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.forgejo/workflows/build-and-deploy.yml b/.forgejo/workflows/build-and-deploy.yml index aed0295..87a8b34 100644 --- a/.forgejo/workflows/build-and-deploy.yml +++ b/.forgejo/workflows/build-and-deploy.yml @@ -47,6 +47,7 @@ jobs: - name: Build and push uses: docker/build-push-action@v6 with: + context: ./modules/server file: Dockerfiles/Dockerfile_server push: true tags: meowgit.nekoea.red/nihonium/nyanimedb:latest diff --git a/Dockerfiles/Dockerfile_server b/Dockerfiles/Dockerfile_server index 3ab26c5..87014ce 100644 --- a/Dockerfiles/Dockerfile_server +++ b/Dockerfiles/Dockerfile_server @@ -1,8 +1,8 @@ FROM ubuntu:22.04 WORKDIR /app -COPY --chmod=755 modules/server/nyanimedb /app -COPY modules/server/templates /app/templates +COPY --chmod=755 nyanimedb /app +COPY templates /app/templates EXPOSE 8080 ENTRYPOINT ["/app/nyanimedb"]