From 67024559197d4aeb7ab45c338b402ca8707e665f Mon Sep 17 00:00:00 2001 From: Andrew Lapp Date: Tue, 20 Feb 2024 04:05:25 -0600 Subject: [PATCH] include . in context --- .github/workflows/release.yml | 3 ++- Dockerfile | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 1e4cef55d..30deef9e6 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -7,7 +7,7 @@ on: jobs: release-job: - name: Build and publish on PyPi + name: Build and publish on PyPi and Docker Hub runs-on: ubuntu-latest environment: release steps: @@ -46,6 +46,7 @@ jobs: - name: Build and push Docker image uses: docker/build-push-action@v5 with: + context: . push: true tags: | lapp0/outlines-serve:latest diff --git a/Dockerfile b/Dockerfile index 19b9db3bf..84f50d557 100644 --- a/Dockerfile +++ b/Dockerfile @@ -5,7 +5,7 @@ WORKDIR /outlines RUN pip install --upgrade pip # Copy necessary build components -COPY .git ./.git +COPY .git ./.git # required by setuptools-scm COPY pyproject.toml . COPY outlines ./outlines