Add first-run web setup and Compose without environment or secrets
This commit is contained in:
@@ -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"]
|
||||
|
||||
Reference in New Issue
Block a user