File tree Expand file tree Collapse file tree
{{ cookiecutter.__package_name_kebab_case }} Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11# This dockerfile serves as a base for all testing images.
22# It contains the minimal dependencies and is therefore smaller.
3- from debian:stable-slim
3+ FROM debian:stable-slim
44
55ARG PYTHON_VERSION={{cookiecutter.python_version}}
66ARG POETRY_VERSION=1.8.0
@@ -53,7 +53,7 @@ WORKDIR /repo
5353ENV PYTHONPATH "${PYTHONPATH}:/repo"
5454
5555# Install dependencies (package itself is not installed)
56- COPY pyproject.toml poetry.lock .
56+ COPY pyproject.toml poetry.lock ./
5757RUN poetry install --without dev --all-extras --no-root
5858
5959# update any paths of installed cli tools (from pip)
Original file line number Diff line number Diff line change 11# This dockerfile serves as a base for all testing images.
22# It contains the minimal dependencies and is therefore smaller.
3- from nvidia/cuda:12.3.1-runtime-ubuntu22.04
3+ FROM nvidia/cuda:12.3.1-runtime-ubuntu22.04
44
55ARG PYTHON_VERSION={{cookiecutter.python_version}}
66ARG POETRY_VERSION=1.8.0
@@ -57,7 +57,7 @@ WORKDIR /repo
5757ENV PYTHONPATH "${PYTHONPATH}:/repo"
5858
5959# Install dependencies (package itself is not installed)
60- COPY pyproject.toml poetry.lock .
60+ COPY pyproject.toml poetry.lock ./
6161RUN poetry install --all-extras --no-root
6262
6363# update any paths of installed cli tools (from pip)
Original file line number Diff line number Diff line change 11# This dockerfile serves as a base for all testing images.
22# It contains the minimal dependencies and is therefore smaller.
3- from debian:stable-slim
3+ FROM debian:stable-slim
44ARG PYTHON_VERSION={{cookiecutter.python_version}}
55ARG POETRY_VERSION=1.7.1
66
@@ -55,7 +55,7 @@ WORKDIR /repo
5555ENV PYTHONPATH "${PYTHONPATH}:/repo"
5656
5757# Install dependencies (package itself is not installed)
58- COPY pyproject.toml poetry.lock .
58+ COPY pyproject.toml poetry.lock ./
5959
6060RUN poetry install --all-extras --no-root
6161
You can’t perform that action at this time.
0 commit comments