Skip to content

Commit e87ede6

Browse files
committed
fix: upgrade dependencies
1 parent c07818d commit e87ede6

File tree

10 files changed

+187
-240
lines changed

10 files changed

+187
-240
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
.idea/
2+
.DS_store
23
*.rbc
34
capybara-*.html
45
/log

.ruby-version

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
2.7.3
1+
3.1.4

Dockerfile-rails

Lines changed: 4 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,6 @@
1-
FROM ruby:2.7.3
1+
FROM ruby:3.1.4
22

3-
RUN curl -sL https://deb.nodesource.com/setup_9.x | bash -
4-
RUN apt-get update -qq && apt-get install -y build-essential libpq-dev postgresql-client npm
5-
RUN npm install -g yarn n
6-
7-
# To install the specific version of Node.js
8-
RUN n 12.16
9-
RUN apt purge -y npm && apt autoremove -y
3+
RUN apt-get update -qq && apt-get install -y build-essential libpq-dev postgresql-client nodejs npm
104

115
WORKDIR /app
126

@@ -15,7 +9,7 @@ ADD Gemfile.lock Gemfile.lock
159
RUN bundle install
1610

1711
ADD package.json package.json
18-
RUN yarn
12+
RUN npm i
1913

2014
ADD . /app
21-
RUN yarn dev-build
15+
RUN npm run dev-build

Gemfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,4 +67,4 @@ end
6767
# Windows does not include zoneinfo files, so bundle the tzinfo-data gem
6868
gem 'tzinfo-data', platforms: %i[mingw mswin x64_mingw jruby]
6969

70-
ruby '2.7.3'
70+
ruby '3.1.4'

0 commit comments

Comments
 (0)