Spaces:
Running
Running
k-l-lambda
commited on
Commit
·
7007b84
1
Parent(s):
cd3b919
use node 12.
Browse files- Dockerfile +1 -1
Dockerfile
CHANGED
@@ -16,7 +16,7 @@ RUN apt-get update && apt-get install -y \
|
|
16 |
fontconfig
|
17 |
|
18 |
# Download and install Node.js 12.13.0
|
19 |
-
RUN curl -fsSL https://nodejs.org/dist/
|
20 |
|
21 |
# Create app directory
|
22 |
WORKDIR /app
|
|
|
16 |
fontconfig
|
17 |
|
18 |
# Download and install Node.js 12.13.0
|
19 |
+
RUN curl -fsSL https://nodejs.org/dist/v12.13.0/node-v12.13.0-linux-x64.tar.xz | tar -xJ -C /usr/local --strip-components=1
|
20 |
|
21 |
# Create app directory
|
22 |
WORKDIR /app
|