Skip to content
This repository has been archived by the owner on Jan 19, 2024. It is now read-only.

Commit

Permalink
fix(env): use production in docker file (#50)
Browse files Browse the repository at this point in the history
  • Loading branch information
desoindx authored Feb 8, 2022
1 parent 330e0ef commit 9a7509c
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .env.staging
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
NEXT_TELEMETRY_DISABLED=1
DB_LOGGING_ENABLE=false

DEMARCHES_SIMPLIFIEES_TOKEN=api-token
DEMARCHES_SIMPLIFIEES_TOKEN=api-tokens
DEMARCHES_SIMPLIFIEES_ID=52209
DEMARCHES_SIMPLIFIEES_CHAMPS=[["Q2hhbXAtMTYwMzgwNQ==", "phone"], ["Q2hhbXAtMTYyNzkzOQ==", "address"], ["Q2hhbXAtMTYzOTUyNA==", "teleconsultation"], ["Q2hhbXAtMTY2MDM0Nw==", "languages"], ["Q2hhbXAtMTYzOTQwMQ==", "website"], ["Q2hhbXAtMjI0NzExMg==", "cdsmsp"], ["Q2hhbXAtMjIyMjcwMg==", "withChildren"]]

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/production.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
project: ${{ env.project }}
imageName: ${{ env.project }}/app
token: ${{ secrets.GITHUB_TOKEN }}
buildArgs: |
dockerbuildargs: |
PRODUCTION=true
##############################################################################
Expand Down
1 change: 0 additions & 1 deletion .github/workflows/review.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@ jobs:
project: ${{ env.project }}
imageName: ${{ env.project }}/app
token: ${{ secrets.GITHUB_TOKEN }}

##############################################################################
## GENERATE KUBERNETES MANIFESTS
##############################################################################
Expand Down
2 changes: 2 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ FROM node:14-alpine AS builder
RUN apk add --no-cache libc6-compat
WORKDIR /app

ARG PRODUCTION

COPY package.json yarn.lock ./
RUN yarn install --frozen-lockfile
COPY . .
Expand Down

0 comments on commit 9a7509c

Please sign in to comment.