fixing docker file

This commit is contained in:
Patrik J. Braun 2020-02-08 09:17:14 +01:00
parent f2605933d2
commit 336cbca499
3 changed files with 2 additions and 3 deletions

View File

@ -21,7 +21,7 @@ ENV NODE_ENV=production \
# overrides only the default value of the settings (the actualy value can be overwritten through config.json) # overrides only the default value of the settings (the actualy value can be overwritten through config.json)
default-Server-Database-dbFolder=/app/data/db \ default-Server-Database-dbFolder=/app/data/db \
default-Server-Media-folder=/app/data/images \ default-Server-Media-folder=/app/data/images \
default-Server-Media-tempFolder=/app/data/tmp default-Server-Media-tempFolder=/app/data/tmp \
# flagging dockerized environemnt # flagging dockerized environemnt
PI_DOCKER=true PI_DOCKER=true
# command line arg orverride the config.json with these settings # command line arg orverride the config.json with these settings

View File

@ -19,7 +19,7 @@ ENV NODE_ENV=production \
# overrides only the default value of the settings (the actualy value can be overwritten through config.json) # overrides only the default value of the settings (the actualy value can be overwritten through config.json)
default-Server-Database-dbFolder=/app/data/db \ default-Server-Database-dbFolder=/app/data/db \
default-Server-Media-folder=/app/data/images \ default-Server-Media-folder=/app/data/images \
default-Server-Media-tempFolder=/app/data/tmp default-Server-Media-tempFolder=/app/data/tmp \
# flagging dockerized environemnt # flagging dockerized environemnt
PI_DOCKER=true PI_DOCKER=true
# command line arg orverride the config.json with these settings # command line arg orverride the config.json with these settings

View File

@ -45,7 +45,6 @@ describe('SettingsRouter', () => {
result.body.result.Server.Environment.upTime = null; result.body.result.Server.Environment.upTime = null;
originalSettings.Server.Environment.upTime = null; originalSettings.Server.Environment.upTime = null;
result.body.result.should.deep.equal(JSON.parse(JSON.stringify(originalSettings.toJSON({attachState: true, attachVolatile: true})))); result.body.result.should.deep.equal(JSON.parse(JSON.stringify(originalSettings.toJSON({attachState: true, attachVolatile: true}))));
}); });
}); });
}); });