Skip to content

Commit

Permalink
Update dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
hannahramadan committed Jun 10, 2024
1 parent ed03514 commit f6480da
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 3 additions & 1 deletion tests/ruby/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,6 @@ EXPOSE 9292
#Ensure executable permissions
RUN chmod +x start.sh

CMD ["./start.sh"]
CMD ["bundle", "exec", "rackup", "--host", "0.0.0.0", "--port", "9292"]
# CMD ["gunicorn", "main:app", "-b", "0.0.0.0:8000", "--workers=1"]
# CMD ["./start.sh"]
2 changes: 0 additions & 2 deletions tests/ruby/app.rb
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,5 @@
set :port, 9292

get '/' do
return 'no new relic txn' unless NewRelic::Agent::Tracer.current_transaction

'hello, world!'
end

0 comments on commit f6480da

Please sign in to comment.