From ea614b370bcdf9c62e9bbd88c193693d84ce5054 Mon Sep 17 00:00:00 2001 From: Andrew Nagy Date: Thu, 3 Nov 2022 18:51:52 +0000 Subject: [PATCH] fix: remove mapped envs --- .env.example | 4 +++- Dockerfile | 15 --------------- 2 files changed, 3 insertions(+), 16 deletions(-) diff --git a/.env.example b/.env.example index 18e7b5da..0df2f57b 100644 --- a/.env.example +++ b/.env.example @@ -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= @@ -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= diff --git a/Dockerfile b/Dockerfile index b7277177..77f7a1b2 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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"]