File tree 2 files changed +9
-7
lines changed
2 files changed +9
-7
lines changed Original file line number Diff line number Diff line change @@ -39,11 +39,11 @@ RUN gem.ruby3.1 install bundler -v "$(grep -A 1 "BUNDLED WITH" /hackweek/Gemfile
39
39
gem.ruby3.1 install foreman
40
40
41
41
# Setup Ruby 3.1 as default
42
- RUN ln -sf /usr/bin/ruby.ruby3.1 /home/frontend /bin/ruby; \
43
- ln -sf /usr/bin/gem.ruby3.1 /home/frontend /bin/gem; \
44
- ln -sf /usr/bin/bundle.ruby3.1 /home/frontend /bin/bundle; \
45
- ln -sf /usr/bin/rake.ruby3.1 /home/frontend /bin/rake; \
46
- sudo update-alternatives --set rake /usr/bin/rake.ruby.ruby3.1
42
+ RUN ln -sf /usr/bin/ruby.ruby3.1 /home/hackweek /bin/ruby; \
43
+ ln -sf /usr/bin/gem.ruby3.1 /home/hackweek /bin/gem; \
44
+ ln -sf /usr/bin/bundle.ruby3.1 /home/hackweek /bin/bundle; \
45
+ ln -sf /usr/bin/rake.ruby3.1 /home/hackweek /bin/rake;
46
+ ENV PATH /home/hackweek/bin:$PATH
47
47
48
48
WORKDIR /hackweek
49
49
USER hackweek
@@ -61,3 +61,5 @@ RUN bundle config build.ffi --enable-system-libffi; \
61
61
# Install our bundle
62
62
RUN bundle install --jobs=3 --retry=3
63
63
64
+ # Run our command
65
+ CMD ["foreman" , "start" , "-f" , "Procfile" ]
Original file line number Diff line number Diff line change 1
- web : bundle exec rails server -b 0.0.0.0
2
- search : bundle exec rake ts:rebuild NODETACH=true
1
+ web : bundle exec bin/ rails server -b 0.0.0.0
2
+ search : bundle exec bin/ rake ts:rebuild NODETACH=true
You can’t perform that action at this time.
0 commit comments