MoinMoin2 Dockerfile
Dockerfile for next version of the moinmoin wiki v2
FROM python:3.11-slim-bookworm AS builder # Install dependencies RUN apt-get update && apt-get install -y git # Copy the source code ENV HOME=/moin RUN git clone https://github.com/moinwiki/moin.git ${HOME} WORKDIR ${HOME} ENV VIRTUAL_ENV=/moin-venv-python RUN python quickinstall.py ${VIRTUAL_ENV} # Activate the virtual environment for subsequent commands ENV PATH=${VIRTUAL_ENV}/bin:$PATH RUN ./m new-wiki RUN moin account-create --name SuperUser --email MyName@x.x --password MyPassword1 # Expose the port EXPOSE 5000 CMD ["moin", "run", "--host", "0.0.0.0" ]