How to use plugins inside a docker container #330
gourvy
started this conversation in
Show and tell
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello!
I succeeded to use some plugins inside a docker container. For long hours I came across this error:
[ ERROR ] The specified engine has not resolved.
This is an example of successful build:
engine.js:
Dockerfile:
Command line:
docker build -t my_marp
docker run --rm --init -v $PWD:/home/marp/app/ -e LANG=$LANG -e MARP_USER="$(id -u):$(id -g)" my_marp slide-deck.md --engine ./engine.js
I think that there's probably some room for improvement (
npm install -g --save-prod
is probably not the best line) but this could be part of the documentation.Beta Was this translation helpful? Give feedback.
All reactions