The architecture has been updated
This commit is contained in:
parent
805f7a017e
commit
a01257ead9
1119 changed files with 226 additions and 352 deletions
22
hermes_code/Dockerfile
Normal file
22
hermes_code/Dockerfile
Normal file
|
|
@ -0,0 +1,22 @@
|
|||
FROM python:3.12-slim
|
||||
|
||||
COPY --from=ghcr.io/astral-sh/uv:latest /uv /uvx /bin/
|
||||
|
||||
RUN apt-get update && apt-get install -y \
|
||||
curl git docker.io \
|
||||
&& rm -rf /var/lib/apt/lists/*
|
||||
|
||||
ENV UV_PROJECT_ENVIRONMENT=/app/venv \
|
||||
HERMES_HOME=/app/hermes_data \
|
||||
PYTHONUNBUFFERED=1 \
|
||||
PATH="/app/venv/bin:$PATH"
|
||||
|
||||
RUN mkdir -p /app/hermes_code /app/hermes_data
|
||||
WORKDIR /app/hermes_code
|
||||
|
||||
COPY pyproject.toml uv.lock ./
|
||||
RUN uv sync --frozen --no-install-project --extra tg
|
||||
|
||||
COPY . .
|
||||
|
||||
RUN uv sync --frozen --extra tg
|
||||
Loading…
Add table
Add a link
Reference in a new issue