From e32ec74ed2b44d6cda2bfc9559e5f1ed953859f4 Mon Sep 17 00:00:00 2001 From: Hemang Date: Wed, 14 May 2025 12:26:15 +0200 Subject: [PATCH] Fix paths to pyproject.toml and README in dockerfile.gateway. Also update context in publish-images.yml --- .github/workflows/publish-images.yml | 2 +- gateway/Dockerfile.gateway | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/publish-images.yml b/.github/workflows/publish-images.yml index 04e8fb9..ff8e9e4 100644 --- a/.github/workflows/publish-images.yml +++ b/.github/workflows/publish-images.yml @@ -47,7 +47,7 @@ jobs: - name: build gateway image uses: docker/build-push-action@v5 with: - context: ./gateway + context: . file: ./gateway/Dockerfile.gateway platforms: linux/amd64 push: true diff --git a/gateway/Dockerfile.gateway b/gateway/Dockerfile.gateway index 0642c60..9bfd43c 100644 --- a/gateway/Dockerfile.gateway +++ b/gateway/Dockerfile.gateway @@ -2,11 +2,11 @@ FROM python:3.12 WORKDIR /srv/gateway -COPY ../pyproject.toml ./pyproject.toml +COPY pyproject.toml ./pyproject.toml COPY . . -COPY ../README.md ./README.md +COPY README.md ./README.md RUN pip install --no-cache-dir .