Skip to content

Commit e6b8127

Browse files
committed
clean up dockerfile
1 parent 91cd411 commit e6b8127

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

Dockerfile

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,8 @@ RUN apk update && apk upgrade --no-cache
66

77
# Install dependencies
88
COPY package.json package-lock.json* ./
9-
COPY pnpm-lock.yaml* ./
10-
RUN npm ci --silent || true
11-
RUN npm install --silent || true
9+
10+
RUN npm install --silent
1211

1312
# Copy source and build
1413
COPY . .
@@ -19,7 +18,6 @@ ENV VITE_ENABLE_ANALYTICS=${ENABLE_ANALYTICS}
1918

2019
RUN npm run build
2120

22-
# --- Production stage ---
2321
FROM nginx:alpine AS production
2422

2523
# Update packages to ensure latest security patches

0 commit comments

Comments
 (0)