Release v2

This commit is contained in:
2026-07-16 02:12:29 -03:00
parent 6f98163632
commit 76cbd799ce
47 changed files with 2409 additions and 2810 deletions
+9 -5
View File
@@ -1,10 +1,14 @@
FROM rust:latest
FROM git.moan.dev/docker/python/with-uv:3.14-alpine
# Only copy uv-related files, necessary for syncing and caching.
WORKDIR /app
COPY pyproject.toml uv.lock /app/
COPY . .
# Run with --no-dev on not to install dev dependencies.
RUN python3 -m uv sync --no-dev
RUN cargo build --release
# Copy the rest of your app.
COPY . /app/
ENTRYPOINT ["cargo"]
CMD ["run", "--release"]
ENTRYPOINT [ "/bin/sh", "-c" ]
CMD [ "cd /app && python3 -m uv run --no-dev uvicorn nyekiapi:app --workers ${NYEKI_WORKERS:-$(nproc)} --host ${NYEKI_BIND_HOST:-0.0.0.0} --port ${NYEKI_BIND_PORT:-8000}" ]