mirror of
https://github.com/muerwre/muerwre.github.io.git
synced 2025-04-24 18:36:41 +07:00
11 lines
221 B
Docker
11 lines
221 B
Docker
FROM node:16-alpine as builder
|
|
WORKDIR /app
|
|
COPY package.json yarn.lock ./
|
|
RUN yarn
|
|
COPY . .
|
|
|
|
RUN yarn generate
|
|
|
|
FROM nginx
|
|
COPY docker/nginx.conf /etc/nginx/nginx.conf
|
|
COPY --from=builder /app/dist /usr/share/nginx/html
|