namesny-com/Dockerfile

9 lines
108 B
Docker

FROM node:12
WORKDIR /app
COPY . ./
RUN yarn
RUN yarn build
VOLUME /app
EXPOSE 3000
CMD [ "yarn", "start" ]