Skip to content

Commit 96856c9

Browse files
author
Dominik Falkner
committed
Merge branch 'febner/dockerfile-minors' into 'main'
fix Dockerfile minors See merge request common/python-package-template!4
2 parents d17ec92 + 543d48a commit 96856c9

3 files changed

Lines changed: 6 additions & 6 deletions

File tree

‎{{ cookiecutter.__package_name_kebab_case }}/Dockerfile-base‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
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

55
ARG PYTHON_VERSION={{cookiecutter.python_version}}
66
ARG POETRY_VERSION=1.8.0
@@ -53,7 +53,7 @@ WORKDIR /repo
5353
ENV PYTHONPATH "${PYTHONPATH}:/repo"
5454

5555
# Install dependencies (package itself is not installed)
56-
COPY pyproject.toml poetry.lock .
56+
COPY pyproject.toml poetry.lock ./
5757
RUN poetry install --without dev --all-extras --no-root
5858

5959
# update any paths of installed cli tools (from pip)

‎{{ cookiecutter.__package_name_kebab_case }}/Dockerfile-cuda‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
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

55
ARG PYTHON_VERSION={{cookiecutter.python_version}}
66
ARG POETRY_VERSION=1.8.0
@@ -57,7 +57,7 @@ WORKDIR /repo
5757
ENV PYTHONPATH "${PYTHONPATH}:/repo"
5858

5959
# Install dependencies (package itself is not installed)
60-
COPY pyproject.toml poetry.lock .
60+
COPY pyproject.toml poetry.lock ./
6161
RUN poetry install --all-extras --no-root
6262

6363
# update any paths of installed cli tools (from pip)

‎{{ cookiecutter.__package_name_kebab_case }}/Dockerfile-test‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
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
ARG PYTHON_VERSION={{cookiecutter.python_version}}
55
ARG POETRY_VERSION=1.7.1
66

@@ -55,7 +55,7 @@ WORKDIR /repo
5555
ENV 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

6060
RUN poetry install --all-extras --no-root
6161

0 commit comments

Comments
 (0)