From d64d3c1d5a45096e421a19b01f7388b6901333e6 Mon Sep 17 00:00:00 2001 From: Marcin Kostrzewski Date: Mon, 9 May 2022 17:04:58 +0200 Subject: [PATCH] Improved caching layers --- Dockerfile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index aaf5fa9..c260647 100644 --- a/Dockerfile +++ b/Dockerfile @@ -5,11 +5,13 @@ WORKDIR /app ADD ./requirements.txt . RUN pip install -r requirements.txt -ADD . . +ADD ./download_dataset.sh . ARG KAGGLE_USERNAME ARG KAGGLE_KEY RUN chmod a+x *.sh RUN ./download_dataset.sh +ADD . . + CMD python train_model.py