Update Dockerfile
Browse files- Dockerfile +2 -0
Dockerfile
CHANGED
@@ -5,6 +5,8 @@ FROM node:18-alpine AS builder
|
|
5 |
# Set working directory
|
6 |
WORKDIR /app
|
7 |
|
|
|
|
|
8 |
# Copy package.json and package-lock.json (or yarn.lock/pnpm-lock.yaml)
|
9 |
# Copying these separately allows Docker to cache this step if only code changes
|
10 |
COPY package.json ./
|
|
|
5 |
# Set working directory
|
6 |
WORKDIR /app
|
7 |
|
8 |
+
RUN npm install
|
9 |
+
|
10 |
# Copy package.json and package-lock.json (or yarn.lock/pnpm-lock.yaml)
|
11 |
# Copying these separately allows Docker to cache this step if only code changes
|
12 |
COPY package.json ./
|