Compare commits
1 Commits
mimo/build
...
mimo/code/
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
0458342622 |
17
Dockerfile
17
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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user