I'm trying to run this following the instructions. It fails for me as shown below. My example I'm not mounting the volume, but it failed the same way. Am I missing something simple?
docker run -it --rm awesometic/docusaurus
Variables:
- UID=1000
- GID=1000
- AUTO_UPDATE=true
- WEBSITE_NAME=MyWebsite
- TEMPLATE=classic
- RUN_MODE=development
/* Register a new cron job for auto updating... */
/* Successfully registered. */
/* Install docusaurus... */
npm ERR! code ETARGET
npm ERR! notarget No matching version found for @docusaurus/init@next.
npm ERR! notarget In most cases you or one of your dependencies are requesting
npm ERR! notarget a package version that doesn't exist.
npm ERR! A complete log of this run can be found in:
npm ERR! /root/.npm/_logs/2020-11-24T21_37_46_824Z-debug.log
Install for [ '@docusaurus/init@next' ] failed with code 1
/* Installing node modules... */
/init.sh: line 54: cd: /docusaurus/MyWebsite: No such file or directory
yarn install v1.22.4
info No lockfile found.
[1/4] Resolving packages...
[2/4] Fetching packages...
[3/4] Linking dependencies...
[4/4] Building fresh packages...
success Saved lockfile.
Done in 0.10s.
/* Start supervisord to start Docusaurus... */
2020-11-24 21:37:47,490 INFO Set uid to user 0 succeeded
2020-11-24 21:37:47,494 INFO supervisord started with pid 68
2020-11-24 21:37:48,496 INFO spawned: 'docusaurus' with pid 70
supervisor: couldn't chdir to /docusaurus/website: ENOENT
supervisor: child process was not spawned
2020-11-24 21:37:48,502 INFO exited: docusaurus (exit status 127; not expected)
2020-11-24 21:37:49,504 INFO gave up: docusaurus entered FATAL state, too many start retries too quickly
^C2020-11-24 21:37:56,511 WARN received SIGINT indicating exit request