Dockerfile edited online with Bitbucket

This commit is contained in:
Victor Barba 2022-03-21 16:59:18 +00:00
parent 0dcf38787a
commit a17e5536ee
1 changed files with 2 additions and 2 deletions

View File

@ -14,9 +14,9 @@ RUN apt install -y libssl1.0-dev libpq-dev
ENV HOME /root
ENV PATH $HOME/.rbenv/shims:$HOME/.rbenv/bin:$HOME/.rbenv/plugins/ruby-build/bin:$PATH
# clone rbenv
RUN git clone git://github.com/sstephenson/rbenv.git ~/.rbenv
RUN git clone https://github.com/sstephenson/rbenv.git ~/.rbenv
# clone ruby-build
RUN git clone git://github.com/sstephenson/ruby-build.git ~/.rbenv/plugins/ruby-build
RUN git clone https://github.com/sstephenson/ruby-build.git ~/.rbenv/plugins/ruby-build
# set working directory to project src
WORKDIR /src
# add Gemfile, Gemfile.lock, .ruby-version to docker