From 7d2d020211c82d4fbd3b6272d06f903303f0f94d Mon Sep 17 00:00:00 2001 From: Siddhartha Basu Date: Sun, 11 Feb 2024 22:39:53 -0600 Subject: [PATCH] feat(Dockerfile.frontpage): add command to rename clientConfig.sample.ts to clientConfig.ts The Dockerfile now includes a command to rename the clientConfig.sample.ts file to clientConfig.ts. This change is necessary to ensure that the Docker container has the correct configuration file name, which is required for the application to run properly. --- docker/Dockerfile.frontpage | 1 + yarn.lock | 8 ++++---- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/docker/Dockerfile.frontpage b/docker/Dockerfile.frontpage index a2ef5d7b4a..22d09baea8 100644 --- a/docker/Dockerfile.frontpage +++ b/docker/Dockerfile.frontpage @@ -8,6 +8,7 @@ WORKDIR /app RUN yarn global add turbo COPY . . RUN mv /app/apps/dicty-frontpage/.env.development /app/apps/dicty-frontpage/.env.production +RUN mv /app/apps/dicty-frontpage/src/common/utils/clientConfig.sample.ts /app/apps/dicty-frontpage/src/common/utils/clientConfig.ts RUN turbo prune --scope=dicty-frontpage --docker # Add lockfile and package.json's of isolated subworkspace diff --git a/yarn.lock b/yarn.lock index a43d8fe953..85f559fa8e 100644 --- a/yarn.lock +++ b/yarn.lock @@ -14177,10 +14177,10 @@ nanoid@^3.3.4, nanoid@^3.3.6: resolved "https://registry.yarnpkg.com/nanoid/-/nanoid-3.3.6.tgz#443380c856d6e9f9824267d960b4236ad583ea4c" integrity sha512-BGcqMMJuToF7i1rt+2PWSNVnWIkGCU78jBG3RxO/bZlnZPK2Cmi2QaffxGO/2RvWi9sL+FAiRiXMgsyxQ1DIDA== -nanoid@^4.0.2: - version "4.0.2" - resolved "https://registry.yarnpkg.com/nanoid/-/nanoid-4.0.2.tgz#140b3c5003959adbebf521c170f282c5e7f9fb9e" - integrity sha512-7ZtY5KTCNheRGfEFxnedV5zFiORN1+Y1N6zvPTnHQd8ENUvfaDBeuJDZb2bN/oXwXxu3qkTXDzy57W5vAmDTBw== +nanoid@~5.0.3: + version "5.0.5" + resolved "https://registry.yarnpkg.com/nanoid/-/nanoid-5.0.5.tgz#5112efb5c0caf4fc80680d66d303c65233a79fdd" + integrity sha512-/Veqm+QKsyMY3kqi4faWplnY1u+VuKO3dD2binyPIybP31DRO29bPF+1mszgLnrR2KqSLceFLBNw0zmvDzN1QQ== nanomatch@^1.2.9: version "1.2.13"