Skip to content

Commit 398285d

Browse files
committed
new Dockerfile - actually just including curvecurator now by default.
1 parent c57c00e commit 398285d

File tree

4 files changed

+21
-16
lines changed

4 files changed

+21
-16
lines changed

Dockerfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
# https://medium.com/@albertazzir/blazing-fast-python-docker-builds-with-poetry-a78a66f5aed0
33

44
# The builder image, used to build the virtual environment
5-
FROM python:3.11-buster as builder
5+
FROM python:3.11-buster AS builder
66

77
RUN pip install poetry==2.0.0
88

@@ -22,10 +22,10 @@ COPY pyproject.toml poetry.lock ./
2222
# Because poetry will complain if a README.md is not found, we create a dummy one.
2323
RUN touch README.md
2424

25-
RUN poetry install --without development --extras=fit --no-root && rm -rf $POETRY_CACHE_DIR
25+
RUN poetry install --without development --no-root && rm -rf $POETRY_CACHE_DIR
2626

2727
# The runtime image, used to run the code
28-
FROM python:3.11-slim-buster as runtime
28+
FROM python:3.11-slim-buster AS runtime
2929

3030
LABEL image.author.name="Judith Bernett"
3131
LABEL image.author.email="judith.bernett@tum.de"

poetry.lock

Lines changed: 9 additions & 10 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pyproject.toml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,13 +23,12 @@ pingouin = "*"
2323
plotly = "*"
2424
matplotlib = "*"
2525
importlib-resources = "*"
26-
curve-curator = {version = "*", optional = true}
26+
curve-curator = "*"
2727
ray = {version = "*", optional = true}
2828
toml = {version = "^0.10.2"}
2929
poetry-plugin-export = "*"
3030

3131
[tool.poetry.extras]
32-
fit = ["curve-curator"]
3332
multiprocessing = ["ray"]
3433

3534
[tool.poetry.group.development.dependencies]

requirements.txt

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,16 +3,18 @@ aiohttp==3.11.11 ; python_version >= "3.11" and python_version < "3.13"
33
aiosignal==1.3.2 ; python_version >= "3.11" and python_version < "3.13"
44
attrs==24.3.0 ; python_version >= "3.11" and python_version < "3.13"
55
backports-tarfile==1.2.0 ; python_version >= "3.11" and python_version < "3.12"
6+
bokeh==3.4.3 ; python_version >= "3.11" and python_version < "3.13"
67
build==1.2.2.post1 ; python_version >= "3.11" and python_version < "3.13"
78
cachecontrol[filecache]==0.14.2 ; python_version >= "3.11" and python_version < "3.13"
89
certifi==2024.12.14 ; python_version >= "3.11" and python_version < "3.13"
910
cffi==1.17.1 ; python_version >= "3.11" and python_version < "3.13" and (sys_platform == "darwin" or sys_platform == "linux") and (sys_platform == "darwin" or platform_python_implementation != "PyPy")
1011
charset-normalizer==3.4.1 ; python_version >= "3.11" and python_version < "3.13"
1112
cleo==2.1.0 ; python_version >= "3.11" and python_version < "3.13"
12-
colorama==0.4.6 ; python_version >= "3.11" and python_version < "3.13" and (platform_system == "Windows" or os_name == "nt")
13+
colorama==0.4.6 ; python_version >= "3.11" and python_version < "3.13" and (platform_system == "Windows" or sys_platform == "win32" or os_name == "nt")
1314
contourpy==1.3.1 ; python_version >= "3.11" and python_version < "3.13"
1415
crashtest==0.4.1 ; python_version >= "3.11" and python_version < "3.13"
1516
cryptography==44.0.0 ; python_version >= "3.11" and python_version < "3.13" and sys_platform == "linux"
17+
curve-curator==0.5.1 ; python_version >= "3.11" and python_version < "3.13"
1618
cycler==0.12.1 ; python_version >= "3.11" and python_version < "3.13"
1719
distlib==0.3.9 ; python_version >= "3.11" and python_version < "3.13"
1820
dulwich==0.22.7 ; python_version >= "3.11" and python_version < "3.13"
@@ -26,6 +28,7 @@ fsspec[http]==2024.12.0 ; python_version >= "3.11" and python_version < "3.13"
2628
idna==3.10 ; python_version >= "3.11" and python_version < "3.13"
2729
importlib-metadata==8.5.0 ; python_version >= "3.11" and python_version < "3.12"
2830
importlib-resources==6.5.2 ; python_version >= "3.11" and python_version < "3.13"
31+
iniconfig==2.0.0 ; python_version >= "3.11" and python_version < "3.13"
2932
installer==0.7.0 ; python_version >= "3.11" and python_version < "3.13"
3033
jaraco-classes==3.4.0 ; python_version >= "3.11" and python_version < "3.13"
3134
jaraco-context==6.0.1 ; python_version >= "3.11" and python_version < "3.13"
@@ -65,6 +68,7 @@ pingouin==0.5.5 ; python_version >= "3.11" and python_version < "3.13"
6568
pkginfo==1.12.0 ; python_version >= "3.11" and python_version < "3.13"
6669
platformdirs==4.3.6 ; python_version >= "3.11" and python_version < "3.13"
6770
plotly==5.24.1 ; python_version >= "3.11" and python_version < "3.13"
71+
pluggy==1.5.0 ; python_version >= "3.11" and python_version < "3.13"
6872
poetry-core==2.0.0 ; python_version >= "3.11" and python_version < "3.13"
6973
poetry-plugin-export==1.8.0 ; python_version >= "3.11" and python_version < "3.13"
7074
poetry==2.0.0 ; python_version >= "3.11" and python_version < "3.13"
@@ -73,6 +77,7 @@ psutil==6.1.1 ; python_version >= "3.11" and python_version < "3.13"
7377
pycparser==2.22 ; python_version >= "3.11" and python_version < "3.13" and (sys_platform == "darwin" or sys_platform == "linux") and (sys_platform == "darwin" or platform_python_implementation != "PyPy")
7478
pyparsing==3.2.1 ; python_version >= "3.11" and python_version < "3.13"
7579
pyproject-hooks==1.2.0 ; python_version >= "3.11" and python_version < "3.13"
80+
pytest==7.4.4 ; python_version >= "3.11" and python_version < "3.13"
7681
python-dateutil==2.9.0.post0 ; python_version >= "3.11" and python_version < "3.13"
7782
pytorch-lightning==2.5.0.post0 ; python_version >= "3.11" and python_version < "3.13"
7883
pytz==2024.2 ; python_version >= "3.11" and python_version < "3.13"
@@ -98,6 +103,7 @@ tomlkit==0.13.2 ; python_version >= "3.11" and python_version < "3.13"
98103
torch-geometric==2.6.1 ; python_version >= "3.11" and python_version < "3.13"
99104
torch==2.4.0 ; python_version >= "3.11" and python_version < "3.13"
100105
torchmetrics==1.6.1 ; python_version >= "3.11" and python_version < "3.13"
106+
tornado==6.4.2 ; python_version >= "3.11" and python_version < "3.13"
101107
tqdm==4.67.1 ; python_version >= "3.11" and python_version < "3.13"
102108
triton==3.0.0 ; platform_system == "Linux" and platform_machine == "x86_64" and python_version < "3.13" and python_version >= "3.11"
103109
trove-classifiers==2025.1.7.14 ; python_version >= "3.11" and python_version < "3.13"
@@ -107,5 +113,6 @@ urllib3==2.3.0 ; python_version >= "3.11" and python_version < "3.13"
107113
virtualenv==20.28.1 ; python_version >= "3.11" and python_version < "3.13"
108114
xarray==2025.1.1 ; python_version >= "3.11" and python_version < "3.13"
109115
xattr==1.1.4 ; python_version >= "3.11" and python_version < "3.13" and sys_platform == "darwin"
116+
xyzservices==2024.9.0 ; python_version >= "3.11" and python_version < "3.13"
110117
yarl==1.18.3 ; python_version >= "3.11" and python_version < "3.13"
111118
zipp==3.21.0 ; python_version >= "3.11" and python_version < "3.12"

0 commit comments

Comments
 (0)