hydrogen-web/Dockerfile

10 lines
207 B
Docker
Raw Permalink Normal View History

FROM docker.io/node:alpine as builder
RUN apk add --no-cache git
COPY . /app
WORKDIR /app
RUN yarn install \
&& yarn build
FROM docker.io/nginx:alpine
COPY --from=builder /app/target /usr/share/nginx/html