mirror of
https://github.com/hanzoai/visor.git
synced 2026-09-24 17:04:14 +00:00
The Ruby test is flaky: 7 fails in 1000 runs. This CL creates the test image with the depencies ahead-of-time instead of just-in-time which brings down the test time from ~23s to below 2s. It also adds docker logs when the test fails. This should help with debugging hard to reproduce fails. PiperOrigin-RevId: 862091724
7 lines
107 B
Docker
7 lines
107 B
Docker
FROM ruby:3.3.5
|
|
|
|
RUN gem install sinatra rackup puma
|
|
|
|
COPY server.rb /server.rb
|
|
CMD ["ruby", "/server.rb"]
|