forked from openalpr/openalpr
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDockerfile
More file actions
34 lines (26 loc) · 664 Bytes
/
Copy pathDockerfile
File metadata and controls
34 lines (26 loc) · 664 Bytes
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
from ubuntu:14.04
# Install prerequisites
run apt-get update && apt-get install -y \
build-essential \
cmake \
curl \
git \
libcurl3-dev \
libleptonica-dev \
liblog4cplus-dev \
libopencv-dev \
libtesseract-dev \
wget
# Copy all data
copy . /srv/openalpr
# Setup the build directory
run mkdir /srv/openalpr/src/build
workdir /srv/openalpr/src/build
# Setup the compile environment
run cmake -DCMAKE_INSTALL_PREFIX:PATH=/usr -DCMAKE_INSTALL_SYSCONFDIR:PATH=/etc ..
# Compile the library
run make
# Install the binaries/libraries to your local system (prefix is /usr)
run make install
workdir /data
entrypoint ["alpr"]