Team Ai
Apppublic

IDKHowToCodeFr/tinyml-backend

sourceHugging Faceupdated 1d agoView on Hugging Face
1likes
Dockerfile19 linesDownload Raw Back to backend
1FROM python:3.11-slim2WORKDIR /app3 4# Install build dependencies for scientific libraries5RUN apt-get update && apt-get install -y --no-install-recommends \6    build-essential \7    && rm -rf /var/lib/apt/lists/*8 9# Install dependencies10COPY requirements.txt .11RUN pip install --no-cache-dir -r requirements.txt12 13# Copy source code14COPY . .15 16# Expose port and run17EXPOSE 800018CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "8000"]19