Update Dockerfile

This commit is contained in:
Alexandre
2026-01-29 15:44:59 +01:00
committed by GitHub
parent e7e64c84d7
commit 1645e1b78f

View File

@@ -84,6 +84,8 @@ RUN python3 -m venv "${VIRTUAL_ENV}"
ENV PATH="${VIRTUAL_ENV}/bin:${PATH}"
RUN pip install --no-cache-dir --extra-index-url https://www.piwheels.org/simple -r /app/requirements.txt
ADD "https://raw.githubusercontent.com/Suncuss/BirdNET-PiPy/refs/heads/main/frontend/nginx.conf" "/etc/nginx/servers/nginx.conf"
# Patch service hostnames for single-container usage
RUN sed -i \
-e "s/API_HOST = 'api'/API_HOST = '127.0.0.1'/" \