Update Dockerfile
Browse files- Dockerfile +1 -2
Dockerfile
CHANGED
|
@@ -18,8 +18,7 @@ RUN curl -fsSL https://deb.nodesource.com/setup_18.x | bash - && \
|
|
| 18 |
COPY package*.json ./
|
| 19 |
|
| 20 |
# Install the Node.js dependencies
|
| 21 |
-
|
| 22 |
-
RUN npm install
|
| 23 |
|
| 24 |
# Copy the Flask application code to the working directory
|
| 25 |
COPY . .
|
|
|
|
| 18 |
COPY package*.json ./
|
| 19 |
|
| 20 |
# Install the Node.js dependencies
|
| 21 |
+
RUN npm install --only=production
|
|
|
|
| 22 |
|
| 23 |
# Copy the Flask application code to the working directory
|
| 24 |
COPY . .
|