JobSpy/Dockerfile

15 lines
241 B
Docker
Raw Normal View History

2023-08-28 10:15:13 -07:00
FROM python:3.10-slim
WORKDIR /app
COPY . /app
RUN apt-get update && \
apt-get install -y jq && \
pip install --no-cache-dir -r requirements.txt
EXPOSE 8000
ENV PORT=8000
2023-08-28 11:45:32 -07:00
CMD sh -c "uvicorn main:app --host 0.0.0.0 --port $PORT"