Added uv compatibility and Dockerfile

This commit is contained in:
2025-04-04 23:49:42 +02:00
parent d19115b5de
commit 7906497975
5 changed files with 590 additions and 3 deletions

17
Dockerfile Normal file
View File

@@ -0,0 +1,17 @@
FROM alpine:3.21
RUN apk add curl python3
RUN adduser -D kakigoori
USER kakigoori
RUN curl -LsSf https://astral.sh/uv/install.sh | sh
WORKDIR /kakigoori
COPY . .
RUN /home/kakigoori/.local/bin/uv sync
ENTRYPOINT ["/home/kakigoori/.local/bin/uv", "run", "gunicorn"]
CMD ["-w", "4", "kakigoori.wsgi", "-b", "0.0.0.0:8001"]