From e3510fa1996c770ee1706e287da67ad0b56e66be Mon Sep 17 00:00:00 2001 From: MMK21Hub <50421330+MMK21Hub@users.noreply.github.com> Date: Wed, 22 Oct 2025 23:27:33 +0100 Subject: [PATCH 1/2] Add required library libatomic1 to Dockerfile --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index d842ecd..41c13c1 100644 --- a/Dockerfile +++ b/Dockerfile @@ -6,7 +6,7 @@ ADD . /app WORKDIR /app RUN apt update -RUN apt install -y curl +RUN apt install -y curl libatomic1 RUN uv python install RUN uv sync --frozen From 2e4d6c1dd7db1745950a66a7d3cc839a0addc2c6 Mon Sep 17 00:00:00 2001 From: MMK21Hub <50421330+MMK21Hub@users.noreply.github.com> Date: Wed, 22 Oct 2025 23:34:27 +0100 Subject: [PATCH 2/2] Add a dockerignore file It used to take like 3 seconds to copy all the files into the Docker image because `.venv` was included. That isn't needed because we `uv sync` within the container, so builds are slightly faster during development now. --- .dockerignore | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 .dockerignore diff --git a/.dockerignore b/.dockerignore new file mode 100644 index 0000000..505a3b1 --- /dev/null +++ b/.dockerignore @@ -0,0 +1,10 @@ +# Python-generated files +__pycache__/ +*.py[oc] +build/ +dist/ +wheels/ +*.egg-info + +# Virtual environments +.venv