Skip to content

Commit b846d05

Browse files
committed
Fix build
1 parent 1f1753d commit b846d05

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

.dockerignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
11
.venv
2+
uv.lock

Dockerfile

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,12 @@ FROM python:${PYTHON_VERSION}-slim-bullseye
55
RUN --mount=type=cache,target=~/.cache/pip pip install uv
66

77
WORKDIR /app
8-
COPY pyproject.toml .
8+
9+
ENV SETUPTOOLS_SCM_PRETEND_VERSION=0
10+
COPY pyproject.toml README.md ./
911
RUN uv lock
1012

1113
COPY stompman/__init__.py stompman/__init__.py
12-
COPY README.md .
1314
RUN --mount=type=cache,target=~/.cache/uv uv sync
1415

1516
COPY . .

0 commit comments

Comments
 (0)