14 lines
495 B
Docker
14 lines
495 B
Docker
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 ui/dist ./ui/dist
|
|
ARG VERSION=0.4.0
|
|
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
|
|
USER 1000:1000
|
|
ENTRYPOINT ["python", "/app/homegate.py"]
|
|
CMD ["run"]
|