Team Ai
Apppublic

rohaneng/transcript_api

sourceHugging Faceupdated 2y agoView on Hugging Face
0likes
Dockerfile18 linesDownload Raw Back to root
1# Use an official Python slim image as the base2FROM python:3.9-slim3 4# Set the working directory in the container5WORKDIR /app6 7# Copy the application code and requirements file to the container8COPY app.py /app/9COPY requirements.txt /app/10 11# Install dependencies12RUN pip install --no-cache-dir -r requirements.txt13 14# Expose port 8000 for the application15EXPOSE 800016 17# Command to run the application18CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "8000"]