.gitpod.Dockerfile 454 B

12345678910111213
  1. FROM gitpod/workspace-postgres
  2. USER gitpod
  3. WORKDIR /app
  4. # Install the Ruby version specified in '.ruby-version'
  5. COPY --chown=gitpod:gitpod .ruby-version /tmp
  6. RUN echo "rvm_gems_path=/home/gitpod/.rvm" > ~/.rvmrc
  7. RUN bash -lc "rvm reinstall ruby-$(cat /tmp/.ruby-version) && rvm use ruby-$(cat /tmp/.ruby-version) --default && gem install rails"
  8. RUN echo "rvm_gems_path=/workspace/.rvm" > ~/.rvmrc
  9. # EXPOSE 8080
  10. # VOLUME [ "/data" ]
  11. CMD [ "/bin/bash" ]