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