ium_424714/Dockerfile

23 lines
443 B
Docker
Raw Normal View History

FROM python:3.11
# seting env variables
ENV KAGGLE_USERNAME=filippatyk
ENV KAGGLE_KEY=""
ENV RUN_TYPE=""
# create working direcotyry
WORKDIR /app
# install python dependencies
COPY requirements.txt ./
RUN pip install --no-cache-dir -r requirements.txt
COPY dataset.py ./
#make dir for data
RUN mkdir -p ./data
CMD kaggle datasets download -p data --unzip clmentbisaillon/fake-and-real-news-dataset && python ./dataset.py "--$RUN_TYPE"