Improved caching layers

This commit is contained in:
Marcin Kostrzewski 2022-05-09 17:04:58 +02:00
parent 6a01cf5307
commit d64d3c1d5a

View File

@ -5,11 +5,13 @@ WORKDIR /app
ADD ./requirements.txt . ADD ./requirements.txt .
RUN pip install -r requirements.txt RUN pip install -r requirements.txt
ADD . . ADD ./download_dataset.sh .
ARG KAGGLE_USERNAME ARG KAGGLE_USERNAME
ARG KAGGLE_KEY ARG KAGGLE_KEY
RUN chmod a+x *.sh RUN chmod a+x *.sh
RUN ./download_dataset.sh RUN ./download_dataset.sh
ADD . .
CMD python train_model.py CMD python train_model.py