15 lines
407 B
Docker
15 lines
407 B
Docker
FROM ubuntu:focal
|
|
WORKDIR /app
|
|
ENV DEBIAN_FRONTEND=noninteractive
|
|
RUN apt-get update && apt-get install --no-install-recommends -y \
|
|
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
|