github.com/GoogleContainerTools/skaffold@v1.39.18/examples/react-reload-docker/app/Dockerfile (about)

     1  FROM node:14.9-alpine
     2  
     3  WORKDIR /app
     4  EXPOSE 8080
     5  CMD ["npm", "run", "dev"]
     6  
     7  COPY package* ./
     8  # examples don't use package-lock.json to minimize updates 
     9  RUN npm install --no-package-lock
    10  COPY . .