chmod
This commit is contained in:
parent
976515ee0c
commit
7b293935ed
@ -21,6 +21,7 @@ ARG KAGGLE_USERNAME=testKAGGLE_USERNAME
|
|||||||
ARG KAGGLE_KEY=test1KAGGLE_KEY
|
ARG KAGGLE_KEY=test1KAGGLE_KEY
|
||||||
|
|
||||||
RUN chmod u+x ./script.py
|
RUN chmod u+x ./script.py
|
||||||
|
RUN chmod 777 /.kaggle
|
||||||
|
|
||||||
# RUN ./download.sh 117928
|
# RUN ./download.sh 117928
|
||||||
# RUN python3 ./script.py
|
# RUN python3 ./script.py
|
@ -25,6 +25,10 @@ def download_dataset():
|
|||||||
"""Download kaggle dataset."""
|
"""Download kaggle dataset."""
|
||||||
print('Downloading dataset...')
|
print('Downloading dataset...')
|
||||||
os.system('kaggle datasets download -d anikannal/solar-power-generation-data')
|
os.system('kaggle datasets download -d anikannal/solar-power-generation-data')
|
||||||
|
|
||||||
|
ptint('Dir after downloading')
|
||||||
|
os.system('ls -la')
|
||||||
|
|
||||||
print('Dataset downloaded')
|
print('Dataset downloaded')
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user