fix(docs): fixed a poetry error
This commit is contained in:
parent
5ca2de544b
commit
dfd627a67f
1 changed files with 2 additions and 2 deletions
|
@ -1,6 +1,6 @@
|
||||||
from python:3.11
|
from python:3.11
|
||||||
RUN pip install --upgrade pip poetry
|
RUN pip install --upgrade pip poetry
|
||||||
COPY pyproject.toml poetry.lock /
|
COPY pyproject.toml poetry.lock mkdocs.yml README.md /
|
||||||
|
|
||||||
RUN apt-get update && apt-get install -y \
|
RUN apt-get update && apt-get install -y \
|
||||||
libcairo2-dev \
|
libcairo2-dev \
|
||||||
|
@ -11,7 +11,7 @@ RUN apt-get update && apt-get install -y \
|
||||||
libz-dev \
|
libz-dev \
|
||||||
pngquant
|
pngquant
|
||||||
RUN poetry config virtualenvs.create false
|
RUN poetry config virtualenvs.create false
|
||||||
RUN poetry install -n --with docs
|
RUN poetry install -n --with docs --no-root
|
||||||
|
|
||||||
COPY .docs /.docs
|
COPY .docs /.docs
|
||||||
COPY mkdocs.yml /
|
COPY mkdocs.yml /
|
||||||
|
|
Loading…
Reference in a new issue