CoolFace
Apppublic

mrhammad12/hammad-logistic-regression

sourceHugging Facemitupdated 11mo agoView on Hugging Face
0likes
Dockerfile19 linesDownload Raw Back to root
1FROM python:3.9-slim
2
3WORKDIR /app
4
5# Copy requirements first for better caching
6COPY requirements.txt .
7RUN pip install --no-cache-dir -r requirements.txt
8
9# Copy all project files
10COPY . .
11
12# Create necessary directories
13RUN mkdir -p static templates
14
15# Expose port
16EXPOSE 7860
17
18# Run the application
19CMD ["python", "app.py"]