Skip to content

Commit

Permalink
Update docker base image, update gem
Browse files Browse the repository at this point in the history
  • Loading branch information
nioupola committed Feb 23, 2024
1 parent 8771544 commit 03c0286
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 8 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM ruby:3.1-alpine
FROM ruby:3.2-alpine
LABEL org.opencontainers.image.vendor="Synoptik Labs"
LABEL org.opencontainers.image.authors="[email protected]"
LABEL org.opencontainers.image.title="Staytus"
Expand Down
11 changes: 6 additions & 5 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -201,8 +201,8 @@ GEM
nilify_blanks (1.4.0)
activerecord (>= 4.0.0)
activesupport (>= 4.0.0)
nio4r (2.5.9)
nokogiri (1.15.4-x86_64-linux)
nio4r (2.7.0)
nokogiri (1.15.5-x86_64-linux)
racc (~> 1.4)
numerizer (0.1.1)
phony (2.20.9)
Expand All @@ -213,9 +213,9 @@ GEM
psych (5.1.1.1)
stringio
public_suffix (5.0.3)
puma (6.4.0)
puma (6.4.2)
nio4r (~> 2.0)
racc (1.7.1)
racc (1.7.3)
rack (3.0.8)
rack-custom-proxies (1.0.3)
rack
Expand Down Expand Up @@ -293,7 +293,7 @@ GEM
uglifier (4.2.0)
execjs (>= 0.3.0, < 3)
unicode_utils (1.4.0)
uri (0.12.2)
uri (0.13.0)
webrick (1.8.1)
websocket-driver (0.7.6)
websocket-extensions (>= 0.1.0)
Expand Down Expand Up @@ -341,3 +341,4 @@ DEPENDENCIES

BUNDLED WITH
2.2.5

2 changes: 1 addition & 1 deletion config/initializers/secret_token.rb
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
if ENV['SECRET_KEY_BASE']
Rails.application.secrets.secret_key_base = ENV['SECRET_KEY_BASE']
else
unless File.exists?("config/secret_token.yml")
unless File.exist?("config/secret_token.yml")
puts ">> Generating new secret token in config/secret_token.yml"
File.open("config/secret_token.yml", "w") do |f|
f.write SecureRandom.hex(128).to_yaml
Expand Down
2 changes: 1 addition & 1 deletion db/migrate/20170608083959_create_authie_sessions.authie.rb
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,6 @@ def change
t.string :last_activity_ip, :last_activity_path
t.string :user_agent
t.timestamps :null => true
#end
end
end
end
1 change: 1 addition & 0 deletions docker-start.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ else
# TODO also copy themes back and forth too

# If already configured, check if there are any migrations to run
bundle exec rake db:migrate
bundle exec rake staytus:build staytus:upgrade
fi

Expand Down

0 comments on commit 03c0286

Please sign in to comment.