feat: lamassu initial dockerize approach

feat: improve dockerization

feat: finished initial versions of dockerfiles

fix: small fixes to image building
This commit is contained in:
Sérgio Salgado 2022-03-17 16:04:34 +00:00
parent b0860cdea5
commit bd82285ecf
14 changed files with 484 additions and 20 deletions

View file

@ -15,8 +15,8 @@ DbMigrateStore.prototype.save = function (set, fn) {
}
DbMigrateStore.prototype.load = function (fn) {
db.one('select data from migrations').then(({ data }) => {
fn(null, data)
db.oneOrNone('select data from migrations').then(res => {
fn(null, res?.data || {})
})
}