diff --git a/Dockerfile b/Dockerfile index a1d5002..4724920 100644 --- a/Dockerfile +++ b/Dockerfile @@ -3,13 +3,18 @@ FROM python:3.11-slim WORKDIR /app # Install Python deps -COPY nexus/ nexus/ -COPY server.py . -COPY portals.json vision.json ./ -COPY robots.txt ./ -COPY index.html help.html ./ +COPY requirements.txt ./ +RUN pip install --no-cache-dir -r requirements.txt websockets -RUN pip install --no-cache-dir websockets +# Backend +COPY nexus/ nexus/ +COPY server.py ./ + +# Frontend assets referenced by index.html +COPY index.html help.html style.css app.js service-worker.js manifest.json ./ + +# Config/data +COPY portals.json vision.json robots.txt ./ EXPOSE 8765