Dockerfile 223 Bytes Raw Blame History Permalink 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 FROM node:14-alpine WORKDIR /usr COPY common ./common COPY server ./server WORKDIR /usr/common RUN yarn install WORKDIR /usr/server RUN yarn install RUN yarn build EXPOSE 3000 CMD [ "node", "dist/server/index.js" ]