Skip to content

Commit

Permalink
feat(Dockerfile.frontpage): add command to rename clientConfig.sample…
Browse files Browse the repository at this point in the history
….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.
  • Loading branch information
cybersiddhu committed Feb 12, 2024
1 parent c32fcb5 commit 7d2d020
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
1 change: 1 addition & 0 deletions docker/Dockerfile.frontpage
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
8 changes: 4 additions & 4 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 7d2d020

Please sign in to comment.