remove arm7

pull/27/head
Cullen 2023-08-28 13:37:36 -05:00
parent cfba0db994
commit 41501e9d4b
2 changed files with 4 additions and 7 deletions

View File

@ -30,4 +30,4 @@ jobs:
file: ./Dockerfile file: ./Dockerfile
push: true push: true
tags: ghcr.io/${{ github.repository_owner }}/jobspy:latest tags: ghcr.io/${{ github.repository_owner }}/jobspy:latest
platforms: linux/amd64,linux/arm64,linux/arm/v7 platforms: linux/amd64,linux/arm64

View File

@ -5,14 +5,11 @@ WORKDIR /app
COPY . /app COPY . /app
RUN apt-get update && \ RUN apt-get update && \
apt-get install -y jq build-essential && \ apt-get install -y jq && \
pip install --no-cache-dir -r requirements.txt && \ pip install --no-cache-dir -r requirements.txt
apt-get remove -y build-essential && \
apt-get autoremove -y && \
apt-get clean
EXPOSE 8000 EXPOSE 8000
ENV PORT=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"