Spaces:
Runtime error
Runtime error
Laura Cabayol Garcia
commited on
Commit
·
699cfd3
1
Parent(s):
e4767ef
change pytohn version
Browse files- Dockerfile +2 -2
Dockerfile
CHANGED
@@ -1,4 +1,4 @@
|
|
1 |
-
FROM python:3.
|
2 |
|
3 |
# Set up a new user named "user" with user ID 1000
|
4 |
RUN useradd -m -u 1000 user
|
@@ -29,7 +29,7 @@ RUN pip install --no-cache-dir --upgrade pip setuptools wheel
|
|
29 |
# Install the project and its dependencies
|
30 |
RUN pip install --no-cache-dir -e . -v
|
31 |
|
32 |
-
# Copy the rest of the
|
33 |
COPY --chown=user . .
|
34 |
|
35 |
# Expose the port
|
|
|
1 |
+
FROM python:3.10-slim
|
2 |
|
3 |
# Set up a new user named "user" with user ID 1000
|
4 |
RUN useradd -m -u 1000 user
|
|
|
29 |
# Install the project and its dependencies
|
30 |
RUN pip install --no-cache-dir -e . -v
|
31 |
|
32 |
+
# Copy the rest of the applicati
|
33 |
COPY --chown=user . .
|
34 |
|
35 |
# Expose the port
|