Skip to content
Snippets Groups Projects
Dockerfile 163 B
Newer Older
  • Learn to ignore specific revisions
  • Guilhem CARRON's avatar
    Guilhem CARRON committed
    FROM node:14-alpine
    
    WORKDIR /app
    
    ENV PATH /app/node_modules/.bin:$PATH
    
    COPY package.json ./
    
    RUN yarn
    
    # add app
    COPY . ./
    
    # start app
    CMD ["yarn", "start"]