Delete Dockerfile
Browse files- Dockerfile +0 -30
Dockerfile
DELETED
@@ -1,30 +0,0 @@
|
|
1 |
-
# Use an official Python runtime as the base image
|
2 |
-
FROM python:3.9-slim
|
3 |
-
|
4 |
-
# Set the working directory inside the container
|
5 |
-
WORKDIR /app
|
6 |
-
|
7 |
-
# Install system dependencies for ML and data processing libraries
|
8 |
-
RUN apt-get update && apt-get install -y \
|
9 |
-
build-essential \
|
10 |
-
libopenblas-dev \
|
11 |
-
libomp-dev \
|
12 |
-
&& rm -rf /var/lib/apt/lists/*
|
13 |
-
|
14 |
-
# Upgrade pip to avoid dependency issues
|
15 |
-
RUN pip install --upgrade pip
|
16 |
-
|
17 |
-
# Copy the dependencies file first for caching efficiency
|
18 |
-
COPY requirements.txt /app/requirements.txt
|
19 |
-
|
20 |
-
# Install Python dependencies
|
21 |
-
RUN pip install --no-cache-dir -r requirements.txt
|
22 |
-
|
23 |
-
# Copy the rest of the application code
|
24 |
-
COPY . /app
|
25 |
-
|
26 |
-
# Expose port 7860 (required by Hugging Face Spaces)
|
27 |
-
EXPOSE 7860
|
28 |
-
|
29 |
-
# Command to run the Flask app
|
30 |
-
CMD ["python", "main.py"]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|