ium_444409/Dockerfile

18 lines
288 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 a+x *.sh
RUN ./download_dataset.sh
CMD python power_plant_data_stats.py