Merge pull request #1 from tostt/tostt-patch-1

instructions for running with docker
This commit is contained in:
tostt 2021-07-04 10:09:04 +02:00 committed by GitHub
commit 9195b9144b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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