Skip to content

Commit 19e8e22

Browse files
fix(Dockerfile): added an entrypoint
1 parent 762b104 commit 19e8e22

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,4 @@ RUN apt-get update \
99
COPY . .
1010
RUN pip install --no-cache-dir .
1111

12-
CMD [ "python", "quantum_pipeline.py", "-f", "data/molecules.json", "--max-iterations", "100" ]
12+
ENTRYPOINT [ "python", "quantum_pipeline.py" ]

README.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -173,8 +173,7 @@ runner.run(backend)
173173

174174
Run the pipeline in a Docker container:
175175
```bash
176-
docker run -v $(pwd)/data:/app/data quantum_pipeline:latest \
177-
python quantum_pipeline.py --file /app/data/molecule.json --basis sto-3g
176+
docker run --rm quantum_pipeline:latest --file /app/data/molecule.json --basis sto-3g --max-iterations 10
178177
```
179178

180179
### Example KafkaConsumer

0 commit comments

Comments
 (0)