update dockerfile

This commit is contained in:
Maciej Czajka 2022-04-02 13:14:24 +02:00
parent 6f86babeca
commit 587ef6ece0

View File

@ -12,16 +12,16 @@ RUN apt-get install unzip
RUN mkdir root/.kaggle
RUN touch root/.kaggle/kaggle.json
RUN echo "{\"username\":\"maciejczajka\",\"key\":\"d8f044ad2b96d32372e22f9054c02bb1\"}" >> root/.kaggle/kaggle.json
RUN chmod 666 root/.kaggle
RUN chmod 666 root/.kaggle/kaggle.json
#WORKDIR /app
WORKDIR /app
ENV CUTOFF=1000
COPY download.sh .
COPY Zajecia_2/main.py .
RUN chmod 666 /.kaggle
RUN ls -al /root/.kaggle/kaggle.json
RUN ./download.sh
#CMD ["python3", "./main.py"]
CMD ["python3", "./main.py"]