fix: missing Dockerfile dependency

This commit is contained in:
eneller
2025-07-03 11:20:25 +02:00
parent aab5a0dd3b
commit 63dbf47f65

View File

@@ -7,13 +7,14 @@ COPY --from=ghcr.io/astral-sh/uv:0.7.18 /uv /uvx /bin/
WORKDIR /app WORKDIR /app
# Install dependencies # Install dependencies
RUN apt-get install -y pandoc
RUN --mount=type=cache,target=/root/.cache/uv \ RUN --mount=type=cache,target=/root/.cache/uv \
--mount=type=bind,source=uv.lock,target=uv.lock \ --mount=type=bind,source=uv.lock,target=uv.lock \
--mount=type=bind,source=pyproject.toml,target=pyproject.toml \ --mount=type=bind,source=pyproject.toml,target=pyproject.toml \
uv sync --locked --no-install-project uv sync --locked --no-install-project --no-dev
# Copy the project into the image # Copy the project into the image
ADD . /app ADD . /app
WORKDIR /app/src WORKDIR /app/src
CMD ["uv", "run", "gunicorn", "-c", "gunicorn.py"] CMD ["uv", "run", "gunicorn", "-c", "gunicorn.py"]