Padrino doesn't work yet with rack 3. Also remove deprecated `--path` option from bundle command.
@@ -8,3 +8,4 @@ gem 'slim', '2.0.3'
gem 'dm-mysql-adapter', '1.2.0'
gem 'dm-core', '1.2.1'
gem 'padrino', '0.15.3'
+gem 'rack', '~> 2.2'
@@ -9,7 +9,7 @@ COPY config.ru config.ru
COPY Gemfile Gemfile
COPY Rakefile Rakefile
-RUN bundle install --jobs=4 --gemfile=/padrino/Gemfile --path=/padrino/padrino/bundle
+RUN bundle install --jobs=4 --gemfile=/padrino/Gemfile
RUN apt-get update -yqq && apt-get install -yqq nginx
EXPOSE 8080