fix: Docker deps, volume mount

This commit is contained in:
eneller
2025-07-03 11:40:04 +02:00
parent 63dbf47f65
commit 0c368df0de
3 changed files with 7 additions and 6 deletions

View File

@@ -2,11 +2,13 @@ FROM python:3.12
VOLUME [ "/app/src/epub2go_web/media" ]
EXPOSE 50000/tcp
EXPOSE 50000/udp
ENV DJANGO_DEBUG=FALSE
COPY --from=ghcr.io/astral-sh/uv:0.7.18 /uv /uvx /bin/
WORKDIR /app
# Install dependencies
RUN apt-get update
RUN apt-get install -y pandoc
RUN --mount=type=cache,target=/root/.cache/uv \
--mount=type=bind,source=uv.lock,target=uv.lock \