Files
sysmonstm/ctrl/edge/Dockerfile
buenosairesam 91f95d55a5
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
Move edge HTML to templates, add jinja2
2026-01-26 21:00:50 -03:00

16 lines
271 B
Docker

FROM python:3.11-slim
WORKDIR /app
RUN pip install --no-cache-dir fastapi uvicorn[standard] websockets jinja2
COPY edge.py .
COPY templates/ templates/
ENV API_KEY=""
ENV LOG_LEVEL=INFO
EXPOSE 8080
CMD ["uvicorn", "edge:app", "--host", "0.0.0.0", "--port", "8080"]