Skip to content
Permalink
Browse files

Add foreman and solargraph

  • Loading branch information
riggraz committed Sep 5, 2019
1 parent 3c3c14b commit 5b8b36afd983f365399b6315e312263ca513cc53
Showing with 9 additions and 1 deletion.
  1. +7 −1 Dockerfile
  2. +2 −0 Procfile
@@ -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"]
@@ -0,0 +1,2 @@
server: rails server -b 0.0.0.0 -p $PORT
webpack: ./bin/webpack-dev-server

0 comments on commit 5b8b36a

Please sign in to comment.
You can’t perform that action at this time.