Use puma directly

This commit is contained in:
Hugo Peixoto 2023-07-28 11:09:23 +01:00
parent 91e1f3cf1d
commit 45677f30ba
2 changed files with 6 additions and 1 deletions

View File

@ -11,4 +11,4 @@ ADD index.html.erb ./
ADD saca-sapos ./
EXPOSE 4567
CMD ["bundle", "exec", "ruby", "main.rb"]
CMD ["puma", "-p", "4567"]

5
config.ru Normal file
View File

@ -0,0 +1,5 @@
# SPDX-License-Identifier: AGPL-3.0-only
# SPDX-FileCopyrightText: 2022 Hugo Peixoto <hugo.peixoto@gmail.com>
require './main'
run Sinatra::Application