Files
walkbyfaith/Dockerfile
T

11 lines
237 B
Docker
Raw Normal View History

2026-08-18 18:20:27 -04:00
FROM node:22-alpine AS build
WORKDIR /app
COPY package.json package-lock.json ./
RUN npm ci
COPY . .
RUN npm run build
FROM nginx:1.27-alpine
COPY --from=build /app/dist /usr/share/nginx/html
EXPOSE 80
CMD ["nginx", "-g", "daemon off;"]