diff --git a/Dockerfile b/Dockerfile index 51da37daf256e82dc61d5153432151e410063d47..d207317c35fff806254e0103ecf04966424d6534 100644 --- a/Dockerfile +++ b/Dockerfile @@ -2,4 +2,6 @@ FROM python:3.7 RUN pip install --upgrade pip -RUN pip install mathutils numpy matplotlib +COPY requirements.txt . + +RUN pip install -r requirements.txt diff --git a/environment.yml b/environment.yml index c4d6274f038f87ab6cf2c53d2a0bbf0a1a895073..51943c383cf89429b43e1aa4ad5542988596bd07 100644 --- a/environment.yml +++ b/environment.yml @@ -4,6 +4,4 @@ dependencies: - python<=3.7 - pip - pip: - - mathutils - - numpy - - matplotlib + - -r requirements.txt diff --git a/requirements.txt b/requirements.txt new file mode 100644 index 0000000000000000000000000000000000000000..02c7fefc9a2f1136f6b01e772449ca4b20dcab74 --- /dev/null +++ b/requirements.txt @@ -0,0 +1,3 @@ +mathutils +numpy +matplotlib