diff --git a/Dockerfile b/Dockerfile index 44fb1ef8a..7a92509d8 100644 --- a/Dockerfile +++ b/Dockerfile @@ -17,7 +17,7 @@ RUN yarn plugin import workspace-tools # Install Dependencies RUN yarn install -RUN yarn build +RUN yarn rebuild # Remove git files RUN rm -rf .git diff --git a/dev/docker-compose.yml b/dev/docker-compose.yml index 25c2e9ea9..07f04451d 100644 --- a/dev/docker-compose.yml +++ b/dev/docker-compose.yml @@ -27,7 +27,7 @@ services: db: restart: always - image: docker.io/postgres:12.2-alpine + image: docker.io/postgres:13.9-alpine networks: - network env_file: diff --git a/docker-compose.yml b/docker-compose.yml index 41ec491ab..850394f70 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -29,7 +29,7 @@ services: db: restart: unless-stopped - image: docker.io/postgres:12.2-alpine + image: docker.io/postgres:13.9-alpine networks: - calcnet env_file: diff --git a/packages/backend/src/server/web/boot.js b/packages/backend/src/server/web/boot.js index 0342603c6..9da4cfb16 100644 --- a/packages/backend/src/server/web/boot.js +++ b/packages/backend/src/server/web/boot.js @@ -24,7 +24,7 @@ //#region Detect language & fetch translations const v = localStorage.getItem('v') || VERSION; - + const supportedLangs = LANGS; let lang = localStorage.getItem('lang'); if (lang == null || !supportedLangs.includes(lang)) {