Skip to content

Commit

Permalink
fix: uncomment unintended comment
Browse files Browse the repository at this point in the history
  • Loading branch information
kevin9foong committed Jan 3, 2025
1 parent 6a4e753 commit cbef06c
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions Dockerfile.production
Original file line number Diff line number Diff line change
Expand Up @@ -40,13 +40,13 @@ ARG REPO_URL
# Upload datadog source maps from secret mount, id MUST be `id=dd_api_key` in the docker build command
# Mount creates a file inside /run/secrets/dd_api_key, and source to load the environment variables
# For the content of the mounted file is only accessible in the RUN command where it’s referred in, use && command.
# RUN --mount=type=secret,id=dd_api_key \
# export DATADOG_API_KEY=$(cat /run/secrets/dd_api_key) && \
# npx @datadog/datadog-ci sourcemaps upload ./dist/frontend \
# --service=formsg-react \
# --release-version=$APP_VERSION \
# --minified-path-prefix=$APP_URL \
# --repository-url=$REPO_URL
RUN --mount=type=secret,id=dd_api_key \
export DATADOG_API_KEY=$(cat /run/secrets/dd_api_key) && \
npx @datadog/datadog-ci sourcemaps upload ./dist/frontend \
--service=formsg-react \
--release-version=$APP_VERSION \
--minified-path-prefix=$APP_URL \
--repository-url=$REPO_URL

RUN npm prune --production --legacy-peer-deps

Expand Down

0 comments on commit cbef06c

Please sign in to comment.