CoolFace
Apppublic

iyadsultan/human_evaluator

sourceHugging Facemitupdated 1y agoView on Hugging Face
1likes
Dockerfile25 linesDownload Raw Back to root
1FROM python:3.9-slim2 3WORKDIR /app4 5# Install dependencies6COPY requirements.txt .7RUN pip install --no-cache-dir -r requirements.txt8 9# Copy application files10COPY app.py .11COPY templates/ templates/12COPY static/ static/13 14# Create data directory with proper permissions15RUN mkdir -p /app/data && chmod 777 /app/data16 17# Set environment variables18ENV DATA_DIR=/app/data19ENV PYTHONUNBUFFERED=120 21# Expose port22EXPOSE 786023 24# Run the application25CMD ["python", "app.py"]