Skip to content

Commit

Permalink
fix: remove mapped envs
Browse files Browse the repository at this point in the history
  • Loading branch information
tm1000 committed Nov 3, 2022
1 parent 2ccff7f commit ea614b3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 16 deletions.
4 changes: 3 additions & 1 deletion .env.example
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ PORT=
TURBO_TOKEN=
STORAGE_PROVIDER=
STORAGE_PATH=
BODY_LIMIT=
STORAGE_PATH_USE_TMP_FOLDER=
# AWS S3 Storage Provider
AWS_ACCESS_KEY_ID=
AWS_SECRET_ACCESS_KEY=
Expand All @@ -11,7 +13,7 @@ S3_ACCESS_KEY=
S3_SECRET_KEY=
S3_REGION=
S3_ENDPOINT=
# Google Cloud Storage Provider
# Google Cloud Storage Provider
GCS_PROJECT_ID=
GCS_CLIENT_EMAIL=
GCS_PRIVATE_KEY=
15 changes: 0 additions & 15 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -43,21 +43,6 @@ WORKDIR $HOME/node
EXPOSE 3000

ENV NODE_ENV=production
ENV TURBO_TOKEN=$TURBO_TOKEN
ENV BODY_LIMIT=$BODY_LIMIT
ENV STORAGE_PATH_USE_TMP_FOLDER=$STORAGE_PATH_USE_TMP_FOLDER
ENV STORAGE_PROVIDER=$STORAGE_PROVIDER
ENV STORAGE_PATH=$STORAGE_PATH
ENV AWS_ACCESS_KEY_ID=$AWS_ACCESS_KEY_ID
ENV AWS_SECRET_ACCESS_KEY=$AWS_SECRET_ACCESS_KEY
ENV AWS_REGION=$AWS_REGION
ENV S3_ACCESS_KEY=$S3_ACCESS_KEY
ENV S3_SECRET_KEY=$S3_SECRET_KEY
ENV S3_REGION=$S3_REGION
ENV S3_ENDPOINT=$S3_ENDPOINT
ENV GCS_PROJECT_ID=$GCS_PROJECT_ID
ENV GCS_CLIENT_EMAIL=$GCS_CLIENT_EMAIL
ENV GCS_PRIVATE_KEY=$GCS_PRIVATE_KEY

ENTRYPOINT ["dumb-init"]
CMD ["node", "--enable-source-maps", "build/index.js"]

0 comments on commit ea614b3

Please sign in to comment.