mkdocs-exporter icon indicating copy to clipboard operation
mkdocs-exporter copied to clipboard

Trying to setup a docker compose environment

Open flefevre opened this issue 1 year ago • 2 comments

After cloning your beautifull project, when runnning on Ubuntu 24.04, I am getting the following error. My initial purpose was to create a Dockercompose.yml file but i did'nt find your image in Docker.io Do you plan a release of your work there, to ease it use? Thanks for your help for this error:

docker build .

I am getting

6.145 playwright._impl._errors.Error: BrowserType.launch: Executable doesn't exist at /root/.cache/ms-playwright/chromium-1124/chrome-linux/chrome
6.145 ╔════════════════════════════════════════════════════════════╗
6.145 ║ Looks like Playwright was just installed or updated.       ║
6.145 ║ Please run the following command to download new browsers: ║
6.145 ║                                                            ║
6.145 ║     playwright install                                     ║
6.145 ║                                                            ║
6.145 ║ <3 Playwright Team                                         ║
6.145 ╚════════════════════════════════════════════════════════════╝
6.251 make: *** [Makefile:21: build] Error 1
------

 2 warnings found (use docker --debug to expand):
 - FromAsCasing: 'as' and 'FROM' keywords' casing do not match (line 1)
 - FromAsCasing: 'as' and 'FROM' keywords' casing do not match (line 22)
Dockerfile:41
--------------------
  40 |     
  41 | >>> RUN . .venv/bin/activate \
  42 | >>>  && make build
  43 |     
--------------------
ERROR: failed to solve: process "/bin/sh -c . .venv/bin/activate  && make build" did not complete successfully: exit code: 2

flefevre avatar Sep 29 '24 11:09 flefevre

If you're interested, I have a working containerized + CI example :

  • https://gitlab.com/RadianDevCore/tools/pre-commit-crocodile/-/blob/develop/containers/pages/Dockerfile
  • https://gitlab.com/RadianDevCore/tools/pre-commit-crocodile/-/blob/develop/requirements/pages.txt
  • https://radiandevcore.gitlab.io/tools/pre-commit-crocodile/

AdrianDC avatar Oct 06 '24 13:10 AdrianDC