Merge #1908
1908: Optimize docs/Dockerfile r=mergify[bot] a=Erriez - Convert .rst to .html in temporary `python:3.8-alpine3.14` build image - Remove all unused packages - Use `nginx:1.21-alpine` deployment image ## What type of PR? Optimize/fix `docs/Dockerfile` ## What does this PR do? ### Related issue(s) - Mention an issue like: #1851 ## Prerequistes Before we can consider review and merge, please make sure the following list is done and checked. If an entry in not applicable, you can check it or remove it from the list. - [ ] In case of feature or enhancement: documentation updated accordingly - [ ] Unless it's docs or a minor change: add [changelog](https://mailu.io/master/contributors/workflow.html#changelog) entry file. ## Testing The following tests has been executed locally: ```bash export DOCKER_ORG=user export DOCKER_PREFIX= export MAILU_VERSION=master cd tests time docker-compose -f build.yml build --no-cache docs real 0m18.850s user 0m0.317s sys 0m0.124s docker images REPOSITORY TAG IMAGE ID CREATED SIZE user/docs master 3de6c8612cf3 19 seconds ago 38.1MB docker run -it --rm --name mailu-docs -p 80:80 user/docs:master Open web browser: Clear caches http://localhost:80/master ``` Co-authored-by: Erriez <Erriez@users.noreply.github.com>master
commit
bfb2665d58
Loading…
Reference in New Issue