Spaces:
Sleeping
Sleeping
Update Dockerfile
Browse files- Dockerfile +5 -1
Dockerfile
CHANGED
|
@@ -1,5 +1,9 @@
|
|
| 1 |
# Use Python 3.9 slim base image for a smaller footprint
|
| 2 |
-
FROM python:3.
|
|
|
|
|
|
|
|
|
|
|
|
|
| 3 |
|
| 4 |
# Set working directory
|
| 5 |
WORKDIR /app
|
|
|
|
| 1 |
# Use Python 3.9 slim base image for a smaller footprint
|
| 2 |
+
FROM python:3.11.10
|
| 3 |
+
|
| 4 |
+
RUN useradd -m -u 1000 user
|
| 5 |
+
USER user
|
| 6 |
+
ENV PATH="/home/user/.local/bin:$PATH"
|
| 7 |
|
| 8 |
# Set working directory
|
| 9 |
WORKDIR /app
|