Skip to content

Commit

Permalink
Merge pull request #108 from daisybio/development
Browse files Browse the repository at this point in the history
New Docker image
  • Loading branch information
JudithBernett authored Jan 13, 2025
2 parents 0cdc0ae + 955bf5e commit db5fdf2
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
8 changes: 4 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
# https://medium.com/@albertazzir/blazing-fast-python-docker-builds-with-poetry-a78a66f5aed0

# The builder image, used to build the virtual environment
FROM python:3.10-buster as builder
FROM python:3.11-buster as builder

RUN pip install poetry==1.8.4
RUN pip install poetry==2.0.0

# POETRY_CACHE_DIR: When removing the cache folder, make sure this is done in the same RUN command. If it’s done in a
# separate RUN command, the cache will still be part of the previous Docker layer (the one containing poetry install )
Expand All @@ -25,13 +25,13 @@ RUN touch README.md
RUN poetry install --without development --no-root && rm -rf $POETRY_CACHE_DIR

# The runtime image, used to run the code
FROM python:3.10-slim-buster as runtime
FROM python:3.11-slim-buster as runtime

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

# Copy installed dependencies from the builder image
COPY --from=builder /usr/local/lib/python3.10/site-packages /usr/local/lib/python3.10/site-packages
COPY --from=builder /usr/local/lib/python3.11/site-packages /usr/local/lib/python3.11/site-packages
COPY --from=builder /usr/local/bin /usr/local/bin

# Copy all relevant code
Expand Down
4 changes: 2 additions & 2 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,9 +56,9 @@
# the built documents.
#
# The short X.Y version.
version = "1.1.0"
version = "1.1.1"
# The full version, including alpha/beta/rc tags.
release = "1.1.0"
release = "1.1.1"

# The language for content autogenerated by Sphinx. Refer to documentation
# for a list of supported languages.
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "drevalpy"
version = "1.1.0"
version = "1.1.1"
description = "Drug response evaluation of cancer cell line drug response models in a fair setting"
authors = ["DrEvalPy development team"]
license = "GPL-3.0"
Expand Down

0 comments on commit db5fdf2

Please sign in to comment.