Spaces:
Build error
Build error
Update Dockerfile
Browse files- Dockerfile +4 -0
Dockerfile
CHANGED
|
@@ -7,6 +7,10 @@ WORKDIR /app
|
|
| 7 |
# Copy package.json and package-lock.json to the working directory
|
| 8 |
COPY package*.json ./
|
| 9 |
|
|
|
|
|
|
|
|
|
|
|
|
|
| 10 |
RUN curl -fsSL https://deb.nodesource.com/setup_18.x | bash - && \
|
| 11 |
apt-get install -y nodejs
|
| 12 |
|
|
|
|
| 7 |
# Copy package.json and package-lock.json to the working directory
|
| 8 |
COPY package*.json ./
|
| 9 |
|
| 10 |
+
# Install curl
|
| 11 |
+
RUN apt-get update && apt-get install -y curl
|
| 12 |
+
|
| 13 |
+
# Install Node.js 18.x
|
| 14 |
RUN curl -fsSL https://deb.nodesource.com/setup_18.x | bash - && \
|
| 15 |
apt-get install -y nodejs
|
| 16 |
|