CoolFace
Apppublic

Xeltron-cloud/VexaAI_Phi-4-mini-Instruct_API

sourceHugging Faceupdated 11mo agoView on Hugging Face
0likes
Dockerfile18 linesDownload Raw Back to root
1FROM python:3.10-slim2 3RUN useradd -m -u 1000 user4USER user5ENV HOME=/home/user \6    PATH=/home/user/.local/bin:$PATH7 8WORKDIR $HOME/app9 10RUN pip install --no-cache-dir --upgrade pip11COPY --chown=user requirements.txt $HOME/app/12RUN pip install -r requirements.txt13 14COPY --chown=user app.py $HOME/app/15 16EXPOSE 786017 18CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"]