20 lines
731 B
Docker
20 lines
731 B
Docker
FROM archlinux:latest
|
|
|
|
RUN pacman -Syu --noconfirm
|
|
RUN pacman -S python --noconfirm
|
|
RUN pacman -S python-pip --noconfirm
|
|
RUN pacman -S bc --noconfirm
|
|
RUN pacman -S unzip --noconfirm
|
|
|
|
RUN pip install --user kaggle
|
|
RUN pip install --user pandas
|
|
RUN pip install --user torch
|
|
RUN pip install --user numpy
|
|
RUN pip install --user matplotlib
|
|
RUN pip install --user seaborn
|
|
|
|
ENV PATH="/root/.local/bin:/.local/bin:${PATH}"
|
|
ENV PYTHONPATH="/usr/lib/python35.zip:/usr/lib/python3.5:/usr/lib/python3.5/plat-x86_64-linux-gnu:/usr/lib/python3.5/lib-dynload:/.local/lib/python3.5/site-packages:/usr/local/lib/python3.5/dist-packages:/usr/lib/python3/dist-packages:${PYTHONPATH}"
|
|
|
|
COPY ./data.sh /home/data/data.sh
|
|
COPY ./ml.py /home/data/ml.py |