Skip to content

Commit

Permalink
remove unused envvars from dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
KenLSM committed Mar 4, 2024
1 parent 1aeec66 commit 0270125
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions Dockerfile.production
Original file line number Diff line number Diff line change
Expand Up @@ -40,11 +40,6 @@ COPY . ./
# These options are only used in the build stage, not the start stage.
ENV NODE_OPTIONS="--max-old-space-size=4096 --openssl-legacy-provider"

ARG DD_GIT_REPOSITORY_URL
ARG DD_GIT_COMMIT_SHA
ENV DD_GIT_REPOSITORY_URL=${DD_GIT_REPOSITORY_URL}
ENV DD_GIT_COMMIT_SHA=${DD_GIT_COMMIT_SHA}

RUN npm run build

ARG APP_VERSION
Expand Down Expand Up @@ -86,7 +81,7 @@ RUN mv /opt/formsg/dist/backend/shared /opt/formsg/
# https://www.npmjs.com/package/puppeteer-core?activeTab=versions for corresponding versions

RUN apk add --no-cache \
# Compatible chromium versions can be found here https://pkgs.alpinelinux.org/packages?name=chromium&branch=v3.18&repo=&arch=&maintainer=
# Compatible chromium versions can be found here https://pkgs.alpinelinux.org/packages?name=chromium&branch=v3.18&repo=&arch=&maintainer=
chromium=119.0.6045.159-r0 \
nss \
freetype \
Expand Down

0 comments on commit 0270125

Please sign in to comment.