Spaces:
Paused
Paused
fix NVM_DIR
Browse files- Dockerfile +1 -0
Dockerfile
CHANGED
|
@@ -17,6 +17,7 @@ RUN apt update && apt install -y \
|
|
| 17 |
|
| 18 |
# Install nvm (Node Version Manager) and then use it to install Node.js and npm
|
| 19 |
# This ensures a clean and controlled Node.js/npm environment
|
|
|
|
| 20 |
ENV NVM_DIR /nvm
|
| 21 |
ENV NODE_VERSION 20.17.0
|
| 22 |
# Specify a compatible Node.js version, matching the earlier error message's requirement
|
|
|
|
| 17 |
|
| 18 |
# Install nvm (Node Version Manager) and then use it to install Node.js and npm
|
| 19 |
# This ensures a clean and controlled Node.js/npm environment
|
| 20 |
+
RUN mkdir -p /nvm
|
| 21 |
ENV NVM_DIR /nvm
|
| 22 |
ENV NODE_VERSION 20.17.0
|
| 23 |
# Specify a compatible Node.js version, matching the earlier error message's requirement
|