From 95508860915a7f29b89003be54ebadeecc419be2 Mon Sep 17 00:00:00 2001 From: Cullen Watson Date: Mon, 28 Aug 2023 13:45:32 -0500 Subject: [PATCH] Add mac platform to docker (#27) --- .docker/config.json | 3 +++ .github/workflows/docker-build.yml | 4 ++-- Dockerfile | 2 +- 3 files changed, 6 insertions(+), 3 deletions(-) create mode 100644 .docker/config.json diff --git a/.docker/config.json b/.docker/config.json new file mode 100644 index 0000000..e1ea444 --- /dev/null +++ b/.docker/config.json @@ -0,0 +1,3 @@ +{ + "experimental": "enabled" +} \ No newline at end of file diff --git a/.github/workflows/docker-build.yml b/.github/workflows/docker-build.yml index 19fd17b..197f9ae 100644 --- a/.github/workflows/docker-build.yml +++ b/.github/workflows/docker-build.yml @@ -3,7 +3,7 @@ name: Build and Push Docker Image on: push: branches: - - main + - patch_docker jobs: build: @@ -30,4 +30,4 @@ jobs: file: ./Dockerfile push: true tags: ghcr.io/${{ github.repository_owner }}/jobspy:latest - platforms: linux/amd64,linux/arm64,linux/arm/v7 + platforms: linux/amd64,linux/arm64 diff --git a/Dockerfile b/Dockerfile index 7a2e04e..fcd66a6 100644 --- a/Dockerfile +++ b/Dockerfile @@ -12,4 +12,4 @@ EXPOSE 8000 ENV PORT=8000 -CMD sh -c "uvicorn main:app --host 0.0.0.0 --port $PORT" +CMD sh -c "uvicorn main:app --host 0.0.0.0 --port $PORT" \ No newline at end of file