Team Ai
Apppublic

Multimedika/Bot_Development

sourceHugging Facemitupdated 2y agoView on Hugging Face
0likes
Dockerfile17 linesDownload Raw Back to root
1# Use the official Python image from Docker Hub2FROM python:3.113 4RUN useradd -m -u 1000 user5USER user6ENV PATH="/home/user/.local/bin:$PATH"7 8WORKDIR /app9 10COPY --chown=user ./requirements.txt requirements.txt11RUN pip install --no-cache-dir --upgrade -r requirements.txt \12    && pip uninstall -y uvloop  # Ensure uvloop is not installed13 14COPY --chown=user . /app15 16# Start the application with uvicorn17CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"]