Skip to content

Commit

Permalink
Fix 5
Browse files Browse the repository at this point in the history
  • Loading branch information
KarthikUdyawar committed Aug 6, 2023
1 parent 0bcd145 commit 992dc40
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,17 @@ RUN pip install -e .

RUN --mount=type=secret,id=KAGGLE_USERNAME \
--mount=type=secret,id=KAGGLE_KEY \
--mount=type=secret,id=MONGODB_CONN_STRING \
export KAGGLE_USERNAME=$(cat /run/secrets/KAGGLE_USERNAME) && \
export KAGGLE_KEY=$(cat /run/secrets/KAGGLE_KEY) && \
export MONGODB_CONN_STRING=$(cat /run/secrets/MONGODB_CONN_STRING) && \
python src/utils/generate_kaggle_keys.py

RUN --mount=type=secret,id=MONGODB_CONN_STRING \
RUN --mount=type=secret,id=KAGGLE_USERNAME \
--mount=type=secret,id=KAGGLE_KEY \
--mount=type=secret,id=MONGODB_CONN_STRING \
export KAGGLE_USERNAME=$(cat /run/secrets/KAGGLE_USERNAME) && \
export KAGGLE_KEY=$(cat /run/secrets/KAGGLE_KEY) && \
export MONGODB_CONN_STRING=$(cat /run/secrets/MONGODB_CONN_STRING) && \
python src/utils/build_pipeline.py

Expand Down

0 comments on commit 992dc40

Please sign in to comment.