camera-tiler/Dockerfile

15 lines
407 B
Docker
Raw Permalink Normal View History

2022-06-08 05:50:45 +00:00
FROM ubuntu:focal
2022-02-13 08:09:18 +00:00
WORKDIR /app
ENV DEBIAN_FRONTEND=noninteractive
2022-02-13 16:10:54 +00:00
RUN apt-get update && apt-get install --no-install-recommends -y \
2022-02-13 08:09:18 +00:00
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