File size: 393 Bytes
eab1d0a
f1ab0d5
 
 
e919aa3
 
 
f1ab0d5
e919aa3
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
FROM docker.io/python:3-slim-buster
MAINTAINER Niv Sardi <x@filtra.me>
WORKDIR /app

RUN apt update && apt install -y libcairo2 libglib2.0-0 libgl1 && rm -rf /var/cache/apt
COPY python/requirements.txt ./python/requirements.txt
RUN pip install -r ./python/requirements.txt

COPY run.sh ./run
RUN chmod +x run
COPY python ./python

CMD env PATH=$PATH:/usr/local/bin python3 ./python/watcher.py