Skip to content

Commit

Permalink
Merge pull request #3526 from SFDO-Tooling/remove-mock-key
Browse files Browse the repository at this point in the history
Annotate Dockerfile to avoid implication of a key disclosure
  • Loading branch information
davidmreed authored Aug 21, 2023
2 parents 0be3263 + 4b36618 commit 54b26fd
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,8 @@ COPY . /app
# Avoid building prod assets in development
RUN if [ "${BUILD_ENV}" = "production" ] || [ -n "${PROD_ASSETS}" ] ; then yarn prod ; else mkdir -p dist/prod ; fi

# This is not a real key! It is present because we need a key
# that matches the structure of the real value to launch the application.
RUN \
DB_ENCRYPTION_KEY="Ul-OySkEawSxUc7Ck13Twu2109IzIFh54C1WXO9KAFE=" \
GITHUB_TOKEN="sample token" \
Expand Down

0 comments on commit 54b26fd

Please sign in to comment.