Skip to content

Commit 4e32b98

Browse files
committed
Dockerfile: Update to install all group deps
1 parent 4aec6d9 commit 4e32b98

File tree

3 files changed

+6
-3
lines changed

3 files changed

+6
-3
lines changed

Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,8 +64,8 @@ COPY --chown=amp:amp apps/ ./apps/
6464
COPY --chown=amp:amp data/ ./data/
6565
COPY --chown=amp:amp pyproject.toml README.md ./
6666

67-
# Install the amp package in the system Python
68-
RUN uv pip install --system --no-cache -e .
67+
# Install the amp package in the system Python (NOT editable for Docker)
68+
RUN uv pip install --system --no-cache .
6969

7070
# Switch to non-root user
7171
USER amp

k8s/deployment.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ spec:
1818
spec:
1919
containers:
2020
- name: loader
21-
image: ghcr.io/edgeandnode/amp-python:sha-b2b10aa
21+
image: ghcr.io/edgeandnode/amp-python:pr-13
2222
imagePullPolicy: Always
2323

2424
# Command line arguments for the loader

pyproject.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,9 @@ test = [
8989
requires = ["hatchling"]
9090
build-backend = "hatchling.build"
9191

92+
[tool.hatch.build.targets.wheel]
93+
packages = ["src/amp"]
94+
9295
[tool.pytest.ini_options]
9396
pythonpath = ["."]
9497
testpaths = ["tests"]

0 commit comments

Comments
 (0)