From 99d121f536b73147484a461f62a150c4491eba24 Mon Sep 17 00:00:00 2001 From: tostt Date: Sun, 4 Jul 2021 10:08:46 +0200 Subject: [PATCH] instructions for running with docker --- README.md | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index eb777cf..48a9bbf 100644 --- a/README.md +++ b/README.md @@ -26,12 +26,27 @@ If you're on Windows, use the open source telnet client [PuTTY](https://www.chia ## How to run it locally -With a modern node installation available, just start it with +### With a modern node installation available, just start it with ``` npx mapscii ``` +### With Docker + +Create a local Dockerfile containing +``` +FROM node:16-alpine +RUN npm install -g mapscii +CMD mapscii +``` + +Build and run the docker image +``` +docker build -t mapscii . +docker run -it mapscii +``` + ## How to install it locally ### With npm