update dockerfile
This commit is contained in:
parent
a3b24cf290
commit
b1afc318bb
@ -12,7 +12,7 @@ RUN apt-get install unzip
|
|||||||
RUN mkdir root/.kaggle
|
RUN mkdir root/.kaggle
|
||||||
RUN touch root/.kaggle/kaggle.json
|
RUN touch root/.kaggle/kaggle.json
|
||||||
RUN echo "{\"username\":\"maciejczajka\",\"key\":\"d8f044ad2b96d32372e22f9054c02bb1\"}" >> root/.kaggle/kaggle.json
|
RUN echo "{\"username\":\"maciejczajka\",\"key\":\"d8f044ad2b96d32372e22f9054c02bb1\"}" >> root/.kaggle/kaggle.json
|
||||||
RUN chmod 600 root/.kaggle/kaggle.json
|
RUN chmod 666 root/.kaggle/kaggle.json
|
||||||
|
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
|
|
||||||
@ -21,6 +21,6 @@ ENV CUTOFF=1000
|
|||||||
COPY download.sh .
|
COPY download.sh .
|
||||||
COPY Zajecia_2/main.py .
|
COPY Zajecia_2/main.py .
|
||||||
|
|
||||||
RUN ls -al root/*
|
RUN ls -al /root/.kaggle/kaggle.json
|
||||||
RUN ./download.sh
|
RUN ./download.sh
|
||||||
CMD ["python3", "./main.py"]
|
#CMD ["python3", "./main.py"]
|
||||||
|
Loading…
Reference in New Issue
Block a user