Skip to content

Add working Dockerfile - #60

Open
mattrossman wants to merge 1 commit into
Dan-Q:masterfrom
mattrossman:master
Open

Add working Dockerfile#60
mattrossman wants to merge 1 commit into
Dan-Q:masterfrom
mattrossman:master

Conversation

@mattrossman

Copy link
Copy Markdown

This helps resolve #56 and addresses the issues in #59

Specifically, that PR was missing the gem build steps, Nodejs dependency, and information about how to use volumes.

I've included a comment in the Dockerfile with a usage example. The goal is to be able to use this container interchangeably with the regular twee2 command.

For those unfamiliar w/ Docker, you would first build the image with

docker build -t twee2 .

And then run the container with:

docker run --rm -it -v $(pwd):/work twee2 build inputfile.twee outputfile.html

which is equivalent to natively running

twee2 build inputfile.twee outputfile.html

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Docker image

1 participant