Aqarion13 commited on
Commit
47ba340
·
verified ·
1 Parent(s): d3b2079

Create Dockerfile-swarm

Browse files
Files changed (1) hide show
  1. Dockerfile-swarm +19 -0
Dockerfile-swarm ADDED
@@ -0,0 +1,19 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # QuSimPy → φ⁴³ PRODUCTION DOCKERFILE
2
+ FROM python:3.12-slim
3
+
4
+ # Install production dependencies
5
+ COPY requirements.txt .
6
+ RUN pip install -r requirements.txt
7
+
8
+ # Copy AQARION φ⁴³ + QuSimPy production code
9
+ COPY QuSimPy/ ./QuSimPy/
10
+ COPY test.py ./test.py
11
+ COPY φ43_quantum_bridge.py ./φ43_quantum_bridge.py
12
+
13
+ # Production health check
14
+ HEALTHCHECK --interval=30s --timeout=10s --start-period=5s --retries=3 \
15
+ CMD python -c "import QuSim; print(QuSim.QuantumRegister(1).measure())" || exit 1
16
+
17
+ # Production API exposure
18
+ EXPOSE 8080
19
+ CMD ["python", "φ43_quantum_api.py"]