9 lines
164 B
Docker
9 lines
164 B
Docker
FROM node:18-alpine as build
|
|
WORKDIR /app
|
|
COPY . .
|
|
RUN npm install && npm run build
|
|
|
|
FROM nginx:alpine
|
|
COPY --from=build /app/build /usr/share/nginx/html
|
|
EXPOSE 80
|