Working on prediction docker
Browse files- docker/predict.Dockerfile +10 -0
- pyproject.toml +1 -6
docker/predict.Dockerfile
CHANGED
|
@@ -1 +1,11 @@
|
|
| 1 |
FROM estenhl/pyment-preprocessing:1.0.0
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
FROM estenhl/pyment-preprocessing:1.0.0
|
| 2 |
+
|
| 3 |
+
RUN python -m venv /envs/pyment
|
| 4 |
+
|
| 5 |
+
RUN mkdir /repos/pyment
|
| 6 |
+
|
| 7 |
+
COPY . /repos/pyment
|
| 8 |
+
|
| 9 |
+
RUN cd /repos/pyment && \
|
| 10 |
+
/envs/pyment/bin/pip install --upgrade pip && \
|
| 11 |
+
/envs/pyment/bin/pip install .
|
pyproject.toml
CHANGED
|
@@ -10,12 +10,7 @@ license-files = [
|
|
| 10 |
"LICENSE.md"
|
| 11 |
]
|
| 12 |
readme = "README.md"
|
| 13 |
-
requires-python = ">=3.
|
| 14 |
-
dependencies = [
|
| 15 |
-
"fastsurfer @ file:///home/esten/repos/FastSurfer"
|
| 16 |
-
]
|
| 17 |
-
|
| 18 |
-
[tool.poetry.dependencies]
|
| 19 |
|
| 20 |
[build-system]
|
| 21 |
requires = ["poetry-core>=2.0.0,<3.0.0"]
|
|
|
|
| 10 |
"LICENSE.md"
|
| 11 |
]
|
| 12 |
readme = "README.md"
|
| 13 |
+
requires-python = ">=3.10.2"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 14 |
|
| 15 |
[build-system]
|
| 16 |
requires = ["poetry-core>=2.0.0,<3.0.0"]
|