homepage/Dockerfile

12 lines
189 B
Docker
Raw Normal View History

2020-08-06 20:37:25 +00:00
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