Spaces:
Runtime error
Runtime error
Niv Sardi
commited on
Commit
·
eab1d0a
1
Parent(s):
b6ba314
update docker file to actually build our own opencv
Browse filesSigned-off-by: Niv Sardi <[email protected]>
- Dockerfile.python +2 -1
Dockerfile.python
CHANGED
@@ -1,8 +1,9 @@
|
|
1 |
-
FROM docker.io/
|
2 |
MAINTAINER Niv Sardi <[email protected]>
|
3 |
WORKDIR /app
|
4 |
|
5 |
COPY python ./src
|
6 |
RUN pip install -r ./src/requirements.txt
|
|
|
7 |
|
8 |
CMD python3 ./src/watcher.py
|
|
|
1 |
+
FROM docker.io/python:3-slim-buster
|
2 |
MAINTAINER Niv Sardi <[email protected]>
|
3 |
WORKDIR /app
|
4 |
|
5 |
COPY python ./src
|
6 |
RUN pip install -r ./src/requirements.txt
|
7 |
+
RUN apt update && apt install -y libglib2.0-0 libgl1 && rm -rf /var/cache/apt
|
8 |
|
9 |
CMD python3 ./src/watcher.py
|