17 lines
262 B
Docker
17 lines
262 B
Docker
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 ./
|
|
|
|
RUN pip install --no-cache-dir websockets
|
|
|
|
EXPOSE 8765
|
|
|
|
CMD ["python3", "server.py"]
|