Spaces:
Sleeping
Sleeping
Initial commit - clean setup for HF Space
Browse files- DockerFile.txt +2 -2
DockerFile.txt
CHANGED
|
@@ -1,4 +1,4 @@
|
|
| 1 |
-
# Use
|
| 2 |
FROM python:3.11
|
| 3 |
|
| 4 |
# Set working directory
|
|
@@ -12,7 +12,7 @@ RUN apt-get update && apt-get install -y \
|
|
| 12 |
apt-utils \
|
| 13 |
&& rm -rf /var/lib/apt/lists/*
|
| 14 |
|
| 15 |
-
# Copy requirements
|
| 16 |
COPY requirements.txt .
|
| 17 |
RUN pip install --no-cache-dir -r requirements.txt
|
| 18 |
|
|
|
|
| 1 |
+
# Use official Python 3.11 image
|
| 2 |
FROM python:3.11
|
| 3 |
|
| 4 |
# Set working directory
|
|
|
|
| 12 |
apt-utils \
|
| 13 |
&& rm -rf /var/lib/apt/lists/*
|
| 14 |
|
| 15 |
+
# Copy requirements.txt and install Python packages
|
| 16 |
COPY requirements.txt .
|
| 17 |
RUN pip install --no-cache-dir -r requirements.txt
|
| 18 |
|