Skip to content

Commit

Permalink
fix: upgrade dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
exKAZUu committed Apr 11, 2024
1 parent ab22055 commit 201b028
Show file tree
Hide file tree
Showing 5 changed files with 216 additions and 167 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
.idea
*.rbc
capybara-*.html
/log
Expand Down
2 changes: 1 addition & 1 deletion .ruby-version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
2.7.3
3.0.6
21 changes: 21 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
FROM ruby:2.7.3

RUN curl -sL https://deb.nodesource.com/setup_9.x | bash -
RUN apt-get update -qq && apt-get install -y build-essential libpq-dev postgresql-client npm
RUN npm install -g yarn n

# To install the specific version of Node.js
RUN n 12.16
RUN apt purge -y npm && apt autoremove -y

WORKDIR /app

ADD Gemfile Gemfile
ADD Gemfile.lock Gemfile.lock
RUN bundle install

ADD package.json package.json
RUN yarn

ADD . /app
RUN yarn dev-build
6 changes: 3 additions & 3 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ git_source(:github) do |repo_name|
end

# Bundle edge Rails instead: gem 'rails', github: 'rails/rails'
gem 'rails', '~> 6.0.3'
gem 'rails', '~> 6.1.7.7'
# Use PostgreSQL as the database for Active Record
gem 'pg', '1.3.5'
gem 'pg', '~> 1.5.6'
# Use Puma as the app server
gem 'puma', '~> 4.3'
# Use SCSS for stylesheets
Expand Down Expand Up @@ -67,4 +67,4 @@ end
# Windows does not include zoneinfo files, so bundle the tzinfo-data gem
gem 'tzinfo-data', platforms: %i[mingw mswin x64_mingw jruby]

ruby '2.7.3'
ruby '3.0.6'
Loading

0 comments on commit 201b028

Please sign in to comment.