h3rald / min

A small but practical concatenative programming language and shell
https://min-lang.org
MIT License
310 stars 23 forks source link

Added Dockerfile (min Docker image) #103

Closed drkameleon closed 3 years ago

drkameleon commented 3 years ago

Basically, the code is very straightforward:

You can build the image locally with:

docker build -t mindocker .

And run it with:

docker run -it mindocker

Of course you could also mirror the repo at Docker Hub so that anyone could easily launch the min REPL without needing to know anything about min or its dependencies, like:

docker run -it minlang/min

or even run a script directly:

docker run -it -v $(pwd):/home minlang/min <PATH_TO_LOCAL_SCRIPT.min>
drkameleon commented 3 years ago

And here's the whole idea in action:

Screenshot 2021-01-21 at 08 00 20
h3rald commented 3 years ago

Omg thank you so much!!! Awesome! 🤩