22 lines
407 B
Docker
22 lines
407 B
Docker
FROM python:3.11-slim
|
|
|
|
WORKDIR /app
|
|
|
|
# Install Python deps
|
|
COPY requirements.txt ./
|
|
RUN pip install --no-cache-dir -r requirements.txt
|
|
|
|
# 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
|
|
|
|
CMD ["python3", "server.py"]
|