File tree Expand file tree Collapse file tree 1 file changed +21
-0
lines changed Expand file tree Collapse file tree 1 file changed +21
-0
lines changed Original file line number Diff line number Diff line change 42
42
run : # # Run project
43
43
pdm run python -m gale_shapley $(number_of_simulations )
44
44
45
+ docker-build : # # Build Docker image for the project
46
+ docker build -t gale-shapley .
47
+
48
+ docker-run : # # Run Docker container for the project
49
+ docker run --rm -it \
50
+ -v $(PWD ) /config/example_config_custom_input.yaml:/usr/src/app/config/config.yaml \
51
+ -v $(PWD ) /logs:/usr/src/app/logs \
52
+ -e number_of_simulations=$(number_of_simulations ) \
53
+ gale-shapley
54
+
55
+ docker : docker-build docker-run # # Build and run project in Docker
56
+
57
+ docker-logs : # # Show Docker container logs
58
+ docker logs -f $(shell docker ps -q)
59
+
60
+ docker-stop : # # Stop Docker container
61
+ docker stop $(shell docker ps -q)
62
+
63
+ docker-kill : # # Kill Docker container
64
+ docker kill $(shell docker ps -q)
65
+
45
66
project-help : # # Show project help
46
67
pdm run python -m gale_shapley --help
47
68
You can’t perform that action at this time.
0 commit comments