Add postgresql support

This commit is contained in:
Hugo Peixoto 2023-08-01 17:20:10 +01:00
parent d1a4ea3d16
commit 8c85a64375
3 changed files with 4 additions and 1 deletions

View File

@ -1,6 +1,6 @@
FROM ruby:alpine
RUN apk add make gcc libc-dev
RUN apk add make gcc libc-dev libpq-dev
WORKDIR /app
ADD gems.rb gems.locked ./

View File

@ -18,6 +18,7 @@ GEM
mustermann (3.0.0)
ruby2_keywords (~> 0.0.1)
nio4r (2.5.9)
pg (1.5.3)
puma (6.3.0)
nio4r (~> 2.0)
rack (2.2.7)
@ -39,6 +40,7 @@ PLATFORMS
DEPENDENCIES
activerecord
pg
puma
sinatra
sqlite3

View File

@ -7,3 +7,4 @@ gem 'activerecord'
gem 'puma'
gem 'sinatra'
gem 'sqlite3'
gem 'pg'