File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1- FROM python:3.11-slim
2-
3- LABEL org.opencontainers.image.source="https://github.com/Deltares/D-EcoImpact"
4-
5- WORKDIR /decoimpact
6-
7- # Copy files in local working directory to docker working directory
8- COPY . .
9-
10- # Update the package source list, update system packages
11- RUN apt-get update && apt-get upgrade -y \
12- && pip install poetry
13-
14- # Install Poetry dependencies without creating poetry environment
15- # # Packages are installed in "/usr/local/lib/python/site-packages/" when the environment is not created,
16- # # which corresponds to the local installation of Python "/usr/local/bin/python" in the base Docker image
17- RUN poetry config virtualenvs.create false
18- RUN poetry install
19- RUN apt-get clean autoclean
1+ FROM python:3.11-slim
2+
3+ LABEL org.opencontainers.image.source="https://github.com/Deltares/D-EcoImpact"
4+
5+ WORKDIR /decoimpact
6+
7+ # Copy files in local working directory to docker working directory
8+ COPY . .
9+
10+ # Update the package source list, update system packages
11+ RUN apt-get update && apt-get upgrade -y \
12+ && pip install poetry
13+
14+ # Install Poetry dependencies without creating poetry environment
15+ # # Packages are installed in "/usr/local/lib/python/site-packages/" when the environment is not created,
16+ # # which corresponds to the local installation of Python "/usr/local/bin/python" in the base Docker image
17+ RUN poetry config virtualenvs.create false \
18+ && poetry install \
19+ && apt-get clean autoclean
20+
You can’t perform that action at this time.
0 commit comments