Spaces:
Build error
Build error
Update Dockerfile
Browse files- Dockerfile +5 -1
Dockerfile
CHANGED
|
@@ -7,7 +7,11 @@ WORKDIR /app
|
|
| 7 |
# Copy package.json and package-lock.json to the working directory
|
| 8 |
COPY package*.json ./
|
| 9 |
|
| 10 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
| 11 |
RUN npm install
|
| 12 |
RUN npm install reactflow
|
| 13 |
|
|
|
|
| 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 |
+
|
| 13 |
+
COPY package*.json ./
|
| 14 |
+
COPY src ./src
|
| 15 |
RUN npm install
|
| 16 |
RUN npm install reactflow
|
| 17 |
|