Spaces:
Sleeping
Sleeping
PROTHAM commited on
Commit ·
2969073
1
Parent(s): 9728aae
fix: update base Docker image to bypass registry errors and sync requirements path
Browse files- Dockerfile +2 -2
Dockerfile
CHANGED
|
@@ -1,11 +1,11 @@
|
|
| 1 |
-
FROM python:3.11-slim
|
| 2 |
|
| 3 |
RUN useradd -m -u 1000 envuser
|
| 4 |
WORKDIR /app
|
| 5 |
|
| 6 |
RUN apt-get update && apt-get install -y gcc curl && rm -rf /var/lib/apt/lists/*
|
| 7 |
|
| 8 |
-
COPY
|
| 9 |
RUN pip install --no-cache-dir -r requirements.txt
|
| 10 |
|
| 11 |
COPY . .
|
|
|
|
| 1 |
+
FROM python:3.11-slim-bookworm
|
| 2 |
|
| 3 |
RUN useradd -m -u 1000 envuser
|
| 4 |
WORKDIR /app
|
| 5 |
|
| 6 |
RUN apt-get update && apt-get install -y gcc curl && rm -rf /var/lib/apt/lists/*
|
| 7 |
|
| 8 |
+
COPY requirements.txt .
|
| 9 |
RUN pip install --no-cache-dir -r requirements.txt
|
| 10 |
|
| 11 |
COPY . .
|