Spaces:
Sleeping
Sleeping
Update Dockerfile
Browse files- Dockerfile +5 -0
Dockerfile
CHANGED
|
@@ -2,6 +2,11 @@ FROM node:20-slim
|
|
| 2 |
|
| 3 |
WORKDIR /app
|
| 4 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 5 |
# Update npm to the latest version
|
| 6 |
RUN npm install -g npm@11.4.1
|
| 7 |
|
|
|
|
| 2 |
|
| 3 |
WORKDIR /app
|
| 4 |
|
| 5 |
+
# Install Python 3.10 and dependencies
|
| 6 |
+
RUN apt-get update && \
|
| 7 |
+
apt-get install -y python3 python3-pip python3-venv && \
|
| 8 |
+
ln -s /usr/bin/python3 /usr/bin/python
|
| 9 |
+
|
| 10 |
# Update npm to the latest version
|
| 11 |
RUN npm install -g npm@11.4.1
|
| 12 |
|