Skip to content

Commit 3756242

Browse files
committed
Remove docker directory and modify and update dockerfile
With this new update it will always ensure the newest packages from pyproject.toml is used inside the container
1 parent 3911669 commit 3756242

File tree

4 files changed

+16
-74
lines changed

4 files changed

+16
-74
lines changed

Dockerfile

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
FROM --platform=linux/amd64 ghcr.io/astral-sh/uv:debian
2+
3+
# Set a temporary working directory (will be switched in the kubectl job anyways...)
4+
WORKDIR /temp
5+
6+
# Copy the pyproject file to the working directory to ensure exact versions
7+
COPY pyproject.toml .
8+
9+
# Make a empty venv
10+
RUN uv venv
11+
12+
# Install all dependencies from the pyproject file
13+
RUN uv add pyproject.toml
14+
15+
# Set the path to the venv
16+
ENV PATH="/temp/.venv/bin:${PATH}"

docker/Dockerfile

Lines changed: 0 additions & 7 deletions
This file was deleted.

docker/createdocker.sh

Lines changed: 0 additions & 6 deletions
This file was deleted.

docker/requirements.txt

Lines changed: 0 additions & 61 deletions
This file was deleted.

0 commit comments

Comments
 (0)