18 lines
305 B
Docker
18 lines
305 B
Docker
FROM python:3.9
|
|
|
|
WORKDIR /app
|
|
|
|
ADD ./requirements.txt .
|
|
RUN pip install -r requirements.txt
|
|
|
|
ADD . .
|
|
ARG KAGGLE_USERNAME
|
|
ARG KAGGLE_KEY
|
|
ENV KAGGLE_USERNAME=${KAGGLE_USERNAME}
|
|
ENV KAGGLE_KEY=${KAGGLE_KEY}
|
|
|
|
RUN chmod u+x ./download_dataset.sh
|
|
RUN ./download_dataset.sh
|
|
|
|
CMD python power_plant_data_stats.py
|