Update docker build.
This commit is contained in:
parent
28d0ede0bc
commit
93ec3cc0f7
1 changed files with 4 additions and 4 deletions
|
|
@ -1,9 +1,9 @@
|
|||
FROM python:3.11-slim AS builder
|
||||
WORKDIR /app
|
||||
COPY requirements.txt .
|
||||
RUN pip install --no-cache-dir --upgrade -r requirements.txt
|
||||
COPY pyproject.toml .
|
||||
RUN pip install --no-cache-dir .
|
||||
COPY . .
|
||||
RUN mkdocs build
|
||||
RUN zensical build
|
||||
|
||||
FROM caddy:alpine
|
||||
COPY --from=builder /app/site /usr/share/caddy
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue