Update Dockerfile
Browse files- Dockerfile +2 -1
Dockerfile
CHANGED
|
@@ -19,6 +19,7 @@ COPY package*.json ./
|
|
| 19 |
|
| 20 |
# Install the Node.js dependencies
|
| 21 |
RUN npm install
|
|
|
|
| 22 |
|
| 23 |
# Copy the Flask application code to the working directory
|
| 24 |
COPY app.py .
|
|
@@ -32,7 +33,7 @@ COPY public ./public
|
|
| 32 |
# Build the React application
|
| 33 |
RUN npm run build
|
| 34 |
|
| 35 |
-
|
| 36 |
|
| 37 |
# Expose the port on which the Flask application will run
|
| 38 |
EXPOSE 7860
|
|
|
|
| 19 |
|
| 20 |
# Install the Node.js dependencies
|
| 21 |
RUN npm install
|
| 22 |
+
RUN npm install reactflow
|
| 23 |
|
| 24 |
# Copy the Flask application code to the working directory
|
| 25 |
COPY app.py .
|
|
|
|
| 33 |
# Build the React application
|
| 34 |
RUN npm run build
|
| 35 |
|
| 36 |
+
|
| 37 |
|
| 38 |
# Expose the port on which the Flask application will run
|
| 39 |
EXPOSE 7860
|