Initial commit
All checks were successful
continuous-integration/drone Build is passing

This commit is contained in:
2022-02-13 10:09:18 +02:00
committed by Lauri Võsandi
commit 7510dc8b6f
4 changed files with 242 additions and 0 deletions

20
Dockerfile Normal file
View File

@@ -0,0 +1,20 @@
FROM ubuntu
WORKDIR /app
ENV DEBIAN_FRONTEND=noninteractive
RUN apt-get update && apt-get install -y \
gstreamer1.0-libav \
gstreamer1.0-plugins-bad \
gstreamer1.0-plugins-base \
gstreamer1.0-plugins-good \
gstreamer1.0-plugins-ugly \
gstreamer1.0-tools \
python3-gevent \
python3-numpy \
python3-opencv \
python3-pip \
&& apt-get clean
RUN pip3 install prometheus_client aiohttp sanic==21.6.2 sanic_prometheus motor kubernetes
COPY camtiler.py /app
ENTRYPOINT /app/camtiler.py
EXPOSE 5001
ENV PYTHONUNBUFFERED=1