Spaces:
Sleeping
Sleeping
CamiloVega
commited on
Delete Dockerfile
Browse files- Dockerfile +0 -23
Dockerfile
DELETED
@@ -1,23 +0,0 @@
|
|
1 |
-
FROM python:3.10-slim
|
2 |
-
|
3 |
-
WORKDIR /app
|
4 |
-
|
5 |
-
# Install system dependencies
|
6 |
-
RUN apt-get update && apt-get install -y \
|
7 |
-
build-essential \
|
8 |
-
git \
|
9 |
-
python3-dev \
|
10 |
-
&& rm -rf /var/lib/apt/lists/*
|
11 |
-
|
12 |
-
# Upgrade pip and install basic requirements
|
13 |
-
RUN pip install --no-cache-dir --upgrade pip && \
|
14 |
-
pip install --no-cache-dir torch transformers accelerate safetensors
|
15 |
-
|
16 |
-
# Copy and install requirements
|
17 |
-
COPY requirements.txt .
|
18 |
-
RUN pip install --no-cache-dir -r requirements.txt
|
19 |
-
|
20 |
-
# Copy the rest of the application
|
21 |
-
COPY . .
|
22 |
-
|
23 |
-
CMD ["python", "app.py"]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|