hunk.code_window:       insert_permissions:
         - comment: null
           permission:
  
hunk.labels: keep replace keep
hunk.after_edit:       - role: user
           comment: 
  
hunk.file_path: community/sample-apps/todo-auth0-jwt/hasura/migrations/1536761653464_init.up.yaml
hunk.type: replace
file: FROM node:carbon
  
  # update this line when gatsby-gitbook-starter repo changes
  RUN sh -c 'echo -e "Updated at: 2019-07-30 19:00:00 IST"'
  
  # Install global dependencies
  RUN npm -g install gatsby-cli
  
  # clone gatsby-gitbook-starter
  RUN git clone https://github.com/hasura/gatsby-gitbook-starter.git
  
  # Create app directory
  WORKDIR /gatsby-gitbook-starter
  
  RUN cd /gatsby-gitbook-starter
  
  # Install dependencies
  RUN npm install
  
  # Remove already existing dummy content
  RUN rm -R content
  
  # Bundle app source
  COPY . .
  
  # Build static files
  RUN npm run build
  
  # serve dist folder on port 8080
  CMD ["gatsby", "serve", "--verbose", "--prefix-paths", "-p", "8080", "--host", "0.0.0.0"]
  