From 41501e9d4b4f36f99b8b140cded92de4fb6f8d9c Mon Sep 17 00:00:00 2001 From: Cullen Date: Mon, 28 Aug 2023 13:37:36 -0500 Subject: [PATCH] remove arm7 --- .github/workflows/docker-build.yml | 2 +- Dockerfile | 9 +++------ 2 files changed, 4 insertions(+), 7 deletions(-) diff --git a/.github/workflows/docker-build.yml b/.github/workflows/docker-build.yml index 9db0e7d..197f9ae 100644 --- a/.github/workflows/docker-build.yml +++ b/.github/workflows/docker-build.yml @@ -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 ea1ab33..fcd66a6 100644 --- a/Dockerfile +++ b/Dockerfile @@ -5,14 +5,11 @@ WORKDIR /app COPY . /app RUN apt-get update && \ - apt-get install -y jq build-essential && \ - pip install --no-cache-dir -r requirements.txt && \ - apt-get remove -y build-essential && \ - apt-get autoremove -y && \ - apt-get clean + apt-get install -y jq && \ + pip install --no-cache-dir -r requirements.txt 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