FROM node:14.0 ENV NODE_ENV dev WORKDIR /usr/src/app COPY server/package*.json ./server/ COPY server/.env.example ./server/.env RUN npm --prefix ./server install --production ./server --silent COPY . . EXPOSE 3000 CMD npm --prefix ./server start