search / Dockerfile
hritikr7's picture
Update Dockerfile
2828c90 verified
raw
history blame
275 Bytes
FROM python:3.9
RUN --mount=type=secret,id=GIT_REPO,mode=0444,required=true \
git clone $(cat /run/secrets/GIT_REPO)
WORKDIR /RBSearch
RUN pip install --no-cache-dir --upgrade -q -r requirements.txt
CMD ["uvicorn", "app.main:app", "--host", "0.0.0.0", "--port", "7860"]