CoolFace
Apppublic

likhonsheikh/OpenDocker

sourceHugging Faceupdated 1y agoView on Hugging Face
0likes
Dockerfile29 linesDownload Raw Back to root
1# Use an official Python runtime as a parent image2FROM python:3.11-slim3 4# Set environment variables5ENV PYTHONUNBUFFERED=16 7# Set working directory8WORKDIR /app9 10# Install system dependencies11RUN apt-get update && apt-get install -y \12    gcc \13    && rm -rf /var/lib/apt/lists/*14 15# Copy requirements first to leverage Docker cache16COPY requirements.txt .17 18# Install Python dependencies19RUN pip install --no-cache-dir -r requirements.txt20 21# Copy the rest of the application22COPY app/ .23 24# Expose port25EXPOSE 800026 27# Run the application28CMD ["python", "main.py"]29