fantus/Dockerfile
2020-01-16 00:58:04 +01:00

14 lines
153 B
Docker

FROM node:alpine
WORKDIR /app
COPY package.json .
COPY yarn.lock .
RUN yarn
VOLUME .next
COPY . ./
RUN yarn run build
CMD [ "yarn", "run", "start" ]