From 81afcce69be6138eec71133effcf6bd4e0f5501c Mon Sep 17 00:00:00 2001 From: ThatOneCalculator Date: Sat, 17 Dec 2022 09:22:25 -0800 Subject: [PATCH] chore: dockerfile cleanup --- Dockerfile | 2 +- dev/docker-compose.yml | 2 +- docker-compose.yml | 2 +- packages/backend/src/server/web/boot.js | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Dockerfile b/Dockerfile index 44fb1ef8aa..7a92509d88 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 25c2e9ea9d..07f04451d5 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 41ec491ab7..850394f70b 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 0342603c6f..9da4cfb166 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)) {