Skip to content

Commit bb94dbd

Browse files
authored
Merge branch 'main' into patch-1
2 parents c1861e6 + 04f0044 commit bb94dbd

File tree

23 files changed

+2679
-188
lines changed

23 files changed

+2679
-188
lines changed

Dockerfile

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,14 @@
1-
FROM node:18-alpine AS builder
1+
FROM node:20-alpine
22

3-
# Set working directory inside the container
43
WORKDIR /app
54

65
COPY package*.json ./
76

8-
# Install dependencies with legacy peer deps fix
97
RUN npm install --legacy-peer-deps
108

119
COPY . .
12-
RUN npm run build
1310

14-
# Production Image
15-
FROM node:18-alpine
16-
WORKDIR /app
17-
COPY --from=builder /app /app
11+
# No need to run 'npm run build' for development-mode Docker
1812
EXPOSE 3000
1913

20-
CMD ["npm", "run","serve"]
14+
CMD [ "npm", "run", "dev" ]

0 commit comments

Comments
 (0)