feat(simulator): curators X-ray experience simulator (sub-project 3) #3

Merged
benstull merged 7 commits from experience-simulator into main 2026-06-05 10:52:58 +00:00
3 changed files with 24 additions and 0 deletions
Showing only changes of commit 80cde37b98 - Show all commits
+7
View File
@@ -0,0 +1,7 @@
.PHONY: sim sim-local
sim:
docker compose -f simulator/docker-compose.yml up --build
sim-local:
python -m uvicorn simulator.app:app --reload --port 8000
+10
View File
@@ -0,0 +1,10 @@
FROM python:3.11-slim
WORKDIR /app
COPY pyproject.toml ./
COPY hef ./hef
COPY tools ./tools
COPY simulator ./simulator
COPY catalog ./catalog
RUN pip install --no-cache-dir -e ".[sim]"
EXPOSE 8000
CMD ["uvicorn", "simulator.app:app", "--host", "0.0.0.0", "--port", "8000"]
+7
View File
@@ -0,0 +1,7 @@
services:
simulator:
build:
context: ..
dockerfile: simulator/Dockerfile
ports:
- "8000:8000"