-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDockerfile
More file actions
19 lines (15 loc) · 682 Bytes
/
Dockerfile
File metadata and controls
19 lines (15 loc) · 682 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
FROM arm64v8/ubuntu:20.04
# Download and install Miniconda
RUN apt-get update && apt-get install -y wget
RUN wget https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-aarch64.sh -O /tmp/miniconda.sh
RUN bash /tmp/miniconda.sh -b -p /opt/conda
RUN rm /tmp/miniconda.sh
ENV PATH="/opt/conda/bin:$PATH"
COPY . /app
WORKDIR /app
# Create a new conda environment and install packages
#RUN conda create -n myenv python=3.8
#RUN echo "source activate myenv" >> ~/.bashrc
#RUN conda activate myenv
RUN echo "source /opt/conda/bin/activate" >> ~/.bashrc
RUN conda install -y pyyaml tensorflow pandas scikit-learn plotly seaborn