Spaces:
Sleeping
Sleeping
Richard Lai
commited on
Commit
·
cf13acd
1
Parent(s):
fc18788
update Dockerfile
Browse files- Dockerfile +2 -2
Dockerfile
CHANGED
|
@@ -10,8 +10,8 @@ RUN npm install -g pnpm
|
|
| 10 |
# Set working directory
|
| 11 |
WORKDIR /app/frontend
|
| 12 |
|
| 13 |
-
# Copy frontend package files
|
| 14 |
-
COPY frontend/package.json frontend/pnpm-lock.yaml ./
|
| 15 |
|
| 16 |
# Install frontend dependencies
|
| 17 |
RUN pnpm install --frozen-lockfile
|
|
|
|
| 10 |
# Set working directory
|
| 11 |
WORKDIR /app/frontend
|
| 12 |
|
| 13 |
+
# Copy frontend package files and pnpm configuration
|
| 14 |
+
COPY frontend/package.json frontend/pnpm-lock.yaml frontend/.pnpmfile.cjs ./
|
| 15 |
|
| 16 |
# Install frontend dependencies
|
| 17 |
RUN pnpm install --frozen-lockfile
|