Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add working Dockerfile #60

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

mattrossman
Copy link

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