This repository has been archived on 2022-08-19. You can view files and clone it, but cannot push or open issues or pull requests.
hydrogen-web/Dockerfile

10 lines
226 B
Docker
Raw Permalink Normal View History

FROM docker.io/node:alpine as builder
2021-09-30 08:01:39 +05:30
RUN apk add --no-cache git python3 build-base
COPY . /app
WORKDIR /app
RUN yarn install \
&& yarn build
FROM docker.io/nginx:alpine
COPY --from=builder /app/target /usr/share/nginx/html