AutoCrawlerSpace / Dockerfile
laplace-ai's picture
Update Dockerfile
5ac1fcc
raw
history blame
339 Bytes
FROM python:3.8.12-slim
WORKDIR /code
RUN --mount=type=secret,id=AutoCrawlerRepo,mode=0444,required=true \
git clone $(cat /run/secrets/AutoCrawlerRepo)
WORKDIR /code/autocrawler/
RUN pip install --no-cache-dir --upgrade -r /code/autocrawler/requirements.txt
CMD ["uvicorn", "app.main:app", "--host", "0.0.0.0", "--port", "7860"]