We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f272b7b commit 77c87b4Copy full SHA for 77c87b4
Dockerfile
@@ -1,11 +1,10 @@
1
-FROM node:22 AS builder
+FROM node:22.3.0-slim AS builder
2
WORKDIR /app
3
COPY . .
4
RUN npm ci
5
RUN npm run build
6
7
-
8
-FROM nginx:alpine
9
-COPY --from=builder /app/dist /usr/share/nginx/html
+FROM nginx:1.28.0-alpine
+COPY --from=builder /app/build /usr/share/nginx/html
10
EXPOSE 80
11
-CMD ["nginx", "-g", "daemon off;"]
+CMD ["nginx", "-g", "daemon off;"]
0 commit comments