homepage/Dockerfile

12 lines
189 B
Docker

FROM node:latest as build
WORKDIR /usr/src/app
ADD . /usr/src/app
ENV GATSBY_TELEMETRY_DISABLED 1
RUN yarn
RUN yarn build
FROM gatsbyjs/gatsby
COPY --from=build /usr/src/app/public /pub