FROM node:14-alpine as Builder WORKDIR /app COPY package.json ./ COPY package-lock.json ./ RUN npm install FROM node:14-alpine WORKDIR /app COPY --from=Builder /app/package.json ./ COPY --from=Builder /app/package-lock.json ./ COPY --from=Builder /app/node_modules/ node_modules/ COPY src /app/src EXPOSE ${VUE_APP_SERVER_PORT} CMD [ "npm", "start" ]