2022-04-01 22:25:05 +02:00
|
|
|
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}
|
|
|
|
|
2022-04-02 17:24:29 +02:00
|
|
|
RUN chmod a+x *.sh
|
2022-04-01 22:25:05 +02:00
|
|
|
RUN ./download_dataset.sh
|
|
|
|
|
|
|
|
CMD python power_plant_data_stats.py
|