You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
12 lines
175 B
Plaintext
12 lines
175 B
Plaintext
2 years ago
|
FROM node:16-alpine AS builder
|
||
|
|
||
|
COPY . ./
|
||
|
|
||
|
RUN npm ci
|
||
|
RUN npm run build
|
||
|
|
||
|
FROM nginx:alpine
|
||
|
|
||
|
COPY ./nginx.conf /etc/nginx/nginx.conf
|
||
|
COPY --from=builder ./dist/ /var/www/html/
|