We have clarified our Privacy Statement. Please have a look at our changes.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

14 lines
283B

  1. FROM node:11-alpine
  2. # Create app directories
  3. RUN mkdir -p /usr/src/app
  4. WORKDIR /usr/src/app
  5. # Install app dependencies
  6. COPY . /usr/src/app/
  7. RUN npm install --no-optional && npm run build && npm prune --production && rm -rf ./src
  8. # Start the App
  9. EXPOSE 8080
  10. CMD [ "npm", "start" ]