Team Ai
Apppublic

bp7274/UnityAPI

sourceHugging Faceupdated 1y agoView on Hugging Face
0likes
Dockerfile11 linesDownload Raw Back to root
1FROM python:3.10-slim2WORKDIR /app3COPY requirements.txt .4RUN pip install --no-cache-dir -r requirements.txt5COPY . .6# :white_check_mark: Create cache directory manually and set permissions7RUN mkdir -p /app/cache && chmod -R 777 /app/cache8# :white_check_mark: New preferred env var (TRANSFORMERS_CACHE is deprecated)9ENV HF_HOME=/app/cache10EXPOSE 786011CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "7860"]