1
0
mirror of https://github.com/xuthus83/pigallery2.git synced 2024-11-03 21:04:03 +08:00

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)
default-Server-Database-dbFolder=/app/data/db \
default-Server-Media-folder=/app/data/images \
default-Server-Media-tempFolder=/app/data/tmp
default-Server-Media-tempFolder=/app/data/tmp \
# flagging dockerized environemnt
PI_DOCKER=true
# 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)
default-Server-Database-dbFolder=/app/data/db \
default-Server-Media-folder=/app/data/images \
default-Server-Media-tempFolder=/app/data/tmp
default-Server-Media-tempFolder=/app/data/tmp \
# flagging dockerized environemnt
PI_DOCKER=true
# 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;
originalSettings.Server.Environment.upTime = null;
result.body.result.should.deep.equal(JSON.parse(JSON.stringify(originalSettings.toJSON({attachState: true, attachVolatile: true}))));
});
});
});