forked from iExecBlockchainComputing/image-classifier
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Dockerfile
19 lines (14 loc) · 578 Bytes
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
FROM ubuntu:20.04
RUN apt-get update \
&& apt-get install -y --no-install-recommends \
wget \
ca-certificates \
&& rm -rf /var/lib/apt/lists/* && \
wget https://repo.anaconda.com/miniconda/Miniconda3-py38_4.10.3-Linux-x86_64.sh && \
bash Miniconda3-py38_4.10.3-Linux-x86_64.sh -b -p /root/miniconda
ENV CONDA_AUTO_UPDATE_CONDA="false"
ENV PATH=/root/miniconda/bin:$PATH
RUN conda install -c conda-forge tensorflow==2.6.0
RUN conda install -c conda-forge matplotlib==3.5.1
COPY ./src /app
ENTRYPOINT ["/root/miniconda/bin/python3.8", "/app/app.py"]