-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathDockerfile
23 lines (17 loc) · 847 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
# FROM francoisgervais/opencv-python
FROM dockerkawa0620/mediapipe
# set the working directory
WORKDIR /code
# VScode remote error
# node: error while loading shared libraries: libatomic.so.1
# [Sanity test failure for arm32v7/ubuntu · Issue #4675 · microsoft/vscode-remote-release](https://github.com/microsoft/vscode-remote-release/issues/4675)
RUN apt-get update ; apt-get install -y libatomic1
# install dependencies
COPY ./requirements.txt ./
RUN pip install --no-cache-dir --upgrade -r requirements.txt
# RUN pip install --no-cache-dir --upgrade -r matplotlib_dep.txt
# RUN pip install matplotlib --
# RUN pip install mediapipe-rpi3
# [python - Importing modules from parent folder - Stack Overflow](https://stackoverflow.com/questions/714063/importing-modules-from-parent-folder)
COPY setup.py ./
RUN pip install --no-cache-dir -e .