download dataset
kaggle ์ฌ์ฉํ๊ธฐ
kaggle api key ๋ฐ๊ธ




kaggle cli ์ค์น
model download


docker๋ก kaggle cli ์คํ
Last updated






Last updated
mkdir ~/.kaggle
mv ~/Downloads/kaggle.json ~/.kaggle/
chmod 600 ~/.kaggle/kaggle.jsonpip install kagglekaggle competitions download -c dogs-vs-cats-redux-kernels-editionFROM python:3.10-bullseye
WORKDIR /code
COPY ./requirements.txt ./
RUN pip install --upgrade pip
RUN pip install -r requirements.txt
WORKDIR /code/src
CMD [ "python", "app.py" ]# docker-compose.yml
version: '3.10'
services:
python:
build: .
container_name: python
volumes:
- ./src:/code/src
- ./.kaggle:/root/.kaggle
command: ["sleep", "infinity"]tensorflow
pandas
matplotlib
kaggledocker-compose up -d --build
docker exec -it python sh
kaggle competitions list -h
kaggle competitions download -h
kaggle competitions download -c dogs-vs-cats-redux-kernels-edition