-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathDockerfile
39 lines (32 loc) · 885 Bytes
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
FROM ubuntu:22.04
# These settings prevent a timezone prompt when Python installs
ENV TZ=US/Pacific \
DEBIAN_FRONTEND=noninteractive
# Update the apt repo
RUN apt-get update
# Install system pre-requisites
# RUN apt install -y git-all
# Install pre-requisites for Python
RUN apt-get install -y \
software-properties-common \
libhdf5-dev
# Install the latest 3.x version of Python available from apt
# RUN apt-get install -y python3 python3-pip python3-ipykernel
RUN apt-get install -y python3 \
python3-pip \
python3-ipykernel \
libopencv-dev \
python3-opencv \
curl \
git-all
# Update PIP (Python's package manager)
RUN pip install --upgrade pip
# Install tensorflow. Note that AWS manages Linux distributions
RUN pip3 install tensorflow \
pyyaml \
h5py \
pandas \
scikit-learn \
tensorflow \
statsmodels \
stats