init docker
Browse filesFiles changed (4)
- .DS_Store
- DockerfileAdded+23
- README.mdAdded+10
- requirements.txtAdded+10
1234567891011121314151617181920212223# read the doc: https://huggingface.co/docs/hub/spaces-sdks-docker# you will also find guides on how best to write your Dockerfile
FROM python:3.9
WORKDIR /code
COPY ./requirements.txt /code/requirements.txt
RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
RUN useradd -m -u 1000 user
USER user
ENV HOME=/home/user \ PATH=/home/user/.local/bin:$PATH
WORKDIR $HOME/app
COPY --chown=user . $HOME/app
CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"]12345678910---title: Finding0emoji: 🔍colorFrom: blackcolorTo: bluesdk: dockerpinned: false---
Read more about finding0 [here](https://linkedin.com/company/finding0)12345678910fastapi==0.110.2pydantic==2.5.2uvicorn==0.29.0authlib==1.3.0starlette==0.37.2itsdangerous==2.2.0anyio==4.3.0gradio==4.31.0gradio_client==0.16.2python-dotenv==1.0.1.DS_Store
DockerfileAdded+23
README.mdAdded+10
requirements.txtAdded+10