-
Notifications
You must be signed in to change notification settings - Fork 566
Expand file tree
/
Copy pathDockerfile
More file actions
33 lines (28 loc) · 722 Bytes
/
Dockerfile
File metadata and controls
33 lines (28 loc) · 722 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
FROM ubuntu:22.04 AS app
ENV PYTHONPATH /srv/app
COPY . /srv/app
WORKDIR /srv/app
RUN apt update -y && \
apt install -y software-properties-common && \
add-apt-repository ppa:deadsnakes/ppa && \
apt update -y && \
apt upgrade -y && \
apt install -y \
python3-pip \
ffmpeg \
libsm6 \
libxext6 \
tesseract-ocr \
libtesseract-dev \
libleptonica-dev \
'^libxcb.*-dev' \
libx11-xcb-dev \
libglu1-mesa-dev \
libxrender-dev \
libxi-dev \
libxkbcommon-dev \
libxkbcommon-x11-dev \
libegl1 && \
pip3 install -r requirements.txt && \
pip3 install tesserocr
WORKDIR /srv/app/poker