spoof-detect / Dockerfile.python
Niv Sardi
move from complicated multi-container to simpler design with a shell script
e919aa3
raw
history blame
393 Bytes
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