diff --git a/docker/alpine/Dockerfile.build b/docker/alpine/Dockerfile.build index 76186153..42e0947f 100644 --- a/docker/alpine/Dockerfile.build +++ b/docker/alpine/Dockerfile.build @@ -16,7 +16,7 @@ RUN mkdir -p /app/data/config && \ #----------------------------------------- FROM node:18-alpine3.17 AS main WORKDIR /app -ENV NODE_ENV=debug \ +ENV NODE_ENV=production \ # overrides only the default value of the settings (the actualy value can be overwritten through config.json) default-Database-dbFolder=/app/data/db \ default-Media-folder=/app/data/images \ diff --git a/src/common/config/private/Config.ts b/src/common/config/private/Config.ts index b568e1f0..7a14e5c0 100644 --- a/src/common/config/private/Config.ts +++ b/src/common/config/private/Config.ts @@ -12,9 +12,4 @@ try { } ExtensionConfigTemplateLoader.Instance.init(path.join(__dirname, '/../../../../', pre.Extensions.folder)); -console.log(process.env['default-Media-tempFolder']); -console.log(ConfigClassBuilder.attachPrivateInterface(pre.Media).__defaults.tempFolder); - export const Config = ExtensionConfigWrapper.originalSync(true); - -console.log(ConfigClassBuilder.attachPrivateInterface(Config.Media).__defaults.tempFolder);