Skip to content

Commit 573ccea

Browse files
committed
fix: ci tests
1 parent a381b43 commit 573ccea

File tree

2 files changed

+5
-8
lines changed

2 files changed

+5
-8
lines changed

Dockerfile

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,9 @@
11
FROM python:slim
22

33
EXPOSE 50003
4-
WORKDIR /app
5-
COPY requirements.lock ./
6-
COPY pyproject.toml ./
7-
COPY README.md ./
8-
RUN PYTHONDONTWRITEBYTECODE=1 pip install --no-cache-dir -r requirements.lock
94

10-
COPY src .
11-
CMD airport_test_server
5+
FROM python:slim
6+
RUN pip install uv
7+
RUN --mount=source=dist,target=/dist uv pip install --no-cache /dist/*.whl
8+
CMD airport_test_server --location=grpc://0.0.0.0:50003
9+

pyproject.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,6 @@ requires = ["hatchling==1.26.3", "hatch-vcs"]
2525
build-backend = "hatchling.build"
2626

2727
[tool.rye]
28-
virtual = true
2928
managed = true
3029
dev-dependencies = [
3130
"pytest>=8.3.2",

0 commit comments

Comments
 (0)