8 lines
280 B
Docker
8 lines
280 B
Docker
FROM python:3.12-slim
|
|
WORKDIR /app
|
|
COPY bridge/requirements.txt .
|
|
RUN pip install --no-cache-dir -r requirements.txt
|
|
COPY bridge ./bridge
|
|
ENV PYTHONUNBUFFERED=1
|
|
CMD ["sh", "-c", "exec uvicorn bridge.app:app --host \"$RETROTV_LAN_IP\" --port \"$RETROTV_PORT\" --no-proxy-headers"]
|