Skip to content

Commit

Permalink
Updated docker for M1
Browse files Browse the repository at this point in the history
  • Loading branch information
andrecavallari committed Oct 14, 2023
1 parent 421f925 commit 783d34a
Show file tree
Hide file tree
Showing 6 changed files with 282 additions and 260 deletions.
6 changes: 2 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
FROM ruby:3.1.2-slim-buster
FROM ruby:3.1.2

WORKDIR /app
COPY Gemfile Gemfile.lock /app/
COPY . .

RUN apt-get update \
&& apt-get install -y cmake \
Expand All @@ -11,5 +11,3 @@ RUN apt-get update \

RUN gem install bundler \
&& bundle install --no-cache --jobs=4 --retry=3

COPY . .
76 changes: 36 additions & 40 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,55 +5,51 @@ git_source(:github) { |repo| "https://github.com/#{repo}.git" }

ruby '3.1.2'

gem 'bcrypt', '~> 3.1.18'
gem 'bootsnap', '>= 1.11.1', require: false
gem 'bunny', '~> 2.19.0'
gem 'httparty', '~> 0.20.0'
gem 'jsonapi.rb', '~> 2.0.0'
gem 'jwt', '~> 2.3.0'
gem 'keisan', '~> 0.9.1'
gem 'net-smtp', '0.3.1'
gem 'pg', '~> 1.3.5'
gem 'puma', '~> 5.6.4'
gem 'rack', '>= 2.2.3.1'
gem 'bcrypt'
gem 'bootsnap', require: false
gem 'bunny'
gem 'httparty'
gem 'jsonapi.rb'
gem 'jwt'
gem 'keisan'
gem 'net-smtp'
gem 'nokogiri'
gem 'pg'
gem 'puma'
gem 'rack'
gem 'rails', '~> 6.1.6'
gem 'rails_warden', '~> 0.6.0'
gem 'ransack', '~> 3.2.0'
gem 'redis', '~> 4.6.0'
gem 'sidekiq', '~> 6.4.2'
gem 'twitter', '~> 7.0.0'

# gem 'jbuilder', '~> 2.7'
# gem 'redis', '~> 4.0'
# gem 'image_processing', '~> 1.2'
# gem 'rack-cors'
gem 'rails_warden'
gem 'ransack'
gem 'redis'
gem 'sidekiq'
gem 'twitter'

group :development do
gem 'better_errors', '~> 2.9.1'
gem 'foreman', '~> 0.87.2'
gem 'listen', '~> 3.7.1'
gem 'rubocop', '~> 1.29.1'
gem 'rubocop-rails', '~> 2.14.2'
gem 'rubocop-rspec', '~> 2.11.1'
gem 'spring', '~> 4.0.0'
gem 'better_errors'
gem 'foreman'
gem 'listen'
gem 'rubocop'
gem 'rubocop-rails'
gem 'rubocop-rspec'
gem 'spring'
end

group :development, :test do
gem 'byebug', '11.1.3', platforms: %i[mri mingw x64_mingw]
gem 'dotenv-rails', '~> 2.7.6'
gem 'factory_bot_rails', '~> 6.2.0'
gem 'pry-rails', '~> 0.3.9'
gem 'rspec-rails', '~> 5.1.2'
gem 'byebug', platforms: %i[mri mingw x64_mingw]
gem 'dotenv-rails'
gem 'factory_bot_rails'
gem 'pry-rails'
gem 'rspec-rails'
end

group :test do
gem 'shoulda-matchers', '~> 5.1.0'
gem 'simplecov', '~> 0.21.2'
gem 'simplecov-lcov', '~> 0.8.0'
gem 'super_diff', '~> 0.9.0'
gem 'undercover', '~> 0.4.4'
gem 'vcr', '~> 6.1.0'
gem 'webmock', '~> 3.14.0'
gem 'shoulda-matchers'
gem 'simplecov'
gem 'simplecov-lcov'
gem 'super_diff'
gem 'undercover'
gem 'vcr'
gem 'webmock'
end

# Windows does not include zoneinfo files, so bundle the tzinfo-data gem
Expand Down
Loading

0 comments on commit 783d34a

Please sign in to comment.