ium_444507/Dockerfile
Adam Wojdyla d84f626933 utf8 2
2022-04-02 23:02:39 +02:00

34 lines
765 B
Docker

FROM ubuntu:latest
RUN apt-get update && apt-get install -y locales && locale-gen en_US.UTF-8
# COPY ./kaggle.json /root/.kaggle/kaggle.json
WORKDIR /app
RUN apt-get update && apt-get install -y
RUN apt-get install -y python3
RUN apt-get install -y unzip
RUN apt-get install -y python3-pip
ENV PYTHONIOENCODING=utf-8
RUN apt-get install -y locales locales-all
ENV LC_ALL en_US.UTF-8
ENV LANG en_US.UTF-8
ENV LANGUAGE en_US.UTF-8
RUN python3 -m pip --version
RUN python3 -m pip install kaggle
RUN python3 -m pip install pandas
RUN python3 -m pip freeze
ENV PATH="/root/.local/bin:${PATH}"
COPY . .
ARG KAGGLE_USERNAME
ARG KAGGLE_KEY
RUN chmod a+x ./stats-docker.sh
RUN chmod a+x ./script-stats.py
# RUN ./download.sh 117928
RUN python3 ./script-download.py