10 lines
150 B
Docker
10 lines
150 B
Docker
FROM node:20 AS build
|
|
|
|
WORKDIR .
|
|
|
|
COPY . ./
|
|
RUN npm install && npm run build
|
|
|
|
FROM nginx:1.27.0-alpine
|
|
COPY --from=build /build /usr/share/nginx/html
|