-
-
Notifications
You must be signed in to change notification settings - Fork 10
Expand file tree
/
Copy pathDockerfile
More file actions
35 lines (21 loc) · 538 Bytes
/
Dockerfile
File metadata and controls
35 lines (21 loc) · 538 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 python:3.12
RUN python -m pip install --upgrade pip
#
# This is used by the OpenCV module for image manipulation.
#
RUN apt update && apt install -y libgl1-mesa-glx
COPY requirements.txt /app/requirements.txt
RUN pip install -r /app/requirements.txt
COPY bin /app/bin
COPY bin/entrypoint.sh /
COPY main.py /app
COPY pytest.sh /app
COPY lib/ /app/lib/
COPY tests/ /app/tests/
COPY private/ /app/private/
COPY static/ /app/static/
COPY img/ /app/img
WORKDIR /app
EXPOSE 80/tcp
ENV PORT=80
ENTRYPOINT [ "/entrypoint.sh" ]