SeaCogs/Dockerfile
SeaswimmerTheFsh 0613c8d69d
Some checks failed
Build Documentation / Build (push) Successful in 6s
Pylint / Pylint (3.11) (push) Failing after 18s
fix(docs): fixed dockerfile
2024-01-05 13:32:44 +00:00

20 lines
464 B
Docker

from python:3.11
RUN pip install --upgrade pip poetry
COPY pyproject.toml poetry.lock mkdocs.yml README.md /
RUN apt-get update && apt-get install -y \
libcairo2-dev \
libfreetype6-dev \
libjpeg-dev \
libffi-dev \
libpng-dev \
libz-dev \
pngquant
RUN poetry config virtualenvs.create false
RUN poetry install -n --with docs --no-root
COPY .docs /.docs
COPY mkdocs.yml /
EXPOSE 8000
CMD ["mkdocs", "serve", "--dev-addr=0.0.0.0:8000"]