Add foreman and solargraph

This commit is contained in:
riggraz
2019-09-05 17:47:41 +02:00
parent 3c3c14b04e
commit 5b8b36afd9
2 changed files with 9 additions and 1 deletions

View File

@@ -11,6 +11,12 @@ RUN dpkg -i google-chrome-stable_current_amd64.deb; apt-get -fy install
RUN mkdir /app
WORKDIR /app
# Ruby language server
RUN gem install solargraph
# Launch processes in Procfile
RUN gem install foreman
COPY Gemfile /app/Gemfile
COPY Gemfile.lock /app/Gemfile.lock
RUN bundle install
@@ -25,4 +31,4 @@ ENTRYPOINT ["/app/docker-entrypoint.sh"]
EXPOSE 3000
# Start the main process.
CMD ["rails", "server", "-b", "0.0.0.0"]
CMD ["foreman", "start", "-p", "3000"]