mirror of https://github.com/Bunsly/JobSpy
remove arm7
parent
cfba0db994
commit
41501e9d4b
|
@ -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
|
||||||
|
|
|
@ -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"
|
Loading…
Reference in New Issue