Add first-run web setup and Compose without environment or secrets
All checks were successful
Test and publish Homegate / checks (push) Successful in 29s
Test and publish Homegate / publish (push) Successful in 12m46s

This commit is contained in:
2026-10-14 03:26:50 +03:00
parent 6844ccf0b9
commit a83d897b70
20 changed files with 689 additions and 53 deletions

View File

@@ -2,12 +2,13 @@ FROM python:3.13-slim-bookworm
WORKDIR /app
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
COPY homegate.py sync_ssh.py homegate_ui.py bootstrap.py VERSION .
COPY homegate.py sync_ssh.py homegate_ui.py bootstrap.py standalone.py VERSION .
COPY ui/dist ./ui/dist
ARG VERSION=0.4.0
ARG VERSION=0.4.1
LABEL org.opencontainers.image.title="Homegate" \
org.opencontainers.image.description="LAN DNS, HTTPS and SSH management for Pi-hole and NPM" \
org.opencontainers.image.version=$VERSION
RUN mkdir -p /config /data /control && chown 1000:1000 /config /data /control
USER 1000:1000
ENTRYPOINT ["python", "/app/homegate.py"]
CMD ["run"]