diff --git a/.dockerignore b/.dockerignore new file mode 100644 index 0000000..171f70a --- /dev/null +++ b/.dockerignore @@ -0,0 +1,2 @@ +config/config.yml +logs/logs.log diff --git a/Dockerfile b/Dockerfile index cfdc0d9..6a80280 100644 --- a/Dockerfile +++ b/Dockerfile @@ -13,5 +13,8 @@ RUN pip install pdm # Install dependencies and pre-commit hooks RUN make setup -# Command to run tests -CMD ["pdm", "run", "test"] +# Set environment variables +ENV number_of_simulations=1 + +# Run the command to start the app +CMD make run number_of_simulations=$number_of_simulations diff --git a/requirements.txt b/requirements.txt index e6f94a3..372d72a 100644 --- a/requirements.txt +++ b/requirements.txt @@ -7,12 +7,14 @@ certifi==2022.12.7 cfgv==3.3.1 charset-normalizer==3.1.0 click==8.1.3 +colorama==0.4.6; sys_platform == "win32" or platform_system == "Windows" distlib==0.3.6 -exceptiongroup==1.1.1 +exceptiongroup==1.1.1; python_version < "3.11" filelock==3.10.3 findpython==0.2.4 identify==2.5.21 idna==3.4 +importlib-metadata==6.6.0; python_version < "3.10" iniconfig==2.0.0 installer==0.7.0 markdown-it-py==2.2.0 @@ -38,7 +40,7 @@ resolvelib==1.0.1 rich==13.3.5 setuptools==67.6.0 shellingham==1.5.0.post1 -tomli==2.0.1 +tomli==2.0.1; python_version < "3.11" tomlkit==0.11.8 typer==0.9.0 types-PyYAML==6.0.12.10 @@ -46,3 +48,4 @@ typing-extensions==4.5.0 unearth==0.9.0 urllib3==1.26.15 virtualenv==20.21.0 +zipp==3.15.0; python_version < "3.10"