We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 08315f1 commit 013d708Copy full SHA for 013d708
1 file changed
Dockerfile
@@ -1,9 +1,16 @@
1
-FROM python:3.11
+FROM python:3.14
2
RUN useradd --user-group bagit-tester
3
RUN install -d -o bagit-tester /bagit
4
-USER bagit-tester
5
WORKDIR /bagit
+COPY pyproject.toml /bagit/pyproject.toml
6
COPY .git/ /bagit/.git/
7
-COPY *.rst *.py /bagit/
+COPY *.rst /bagit/
8
+COPY src/ /bagit/src/
9
+COPY test.py /bagit/
10
COPY test-data /bagit/test-data/
-CMD [ "python", "setup.py", "test" ]
11
+COPY utils/ /bagit/
12
+RUN pip install --upgrade pip && pip install uv && uv sync --all-extras
13
+RUN mkdir /home/bagit-tester/ && mkdir /home/bagit-tester/.cache && mkdir /home/bagit-tester/.cache/uv
14
+RUN chown bagit-tester /home/bagit-tester/.cache/uv
15
+USER bagit-tester
16
+CMD [ "uv", "run", "pytest" ]
0 commit comments