instructions for running with docker

This commit is contained in:
tostt 2021-07-04 10:08:46 +02:00 committed by GitHub
parent 7f0c04cb49
commit 99d121f536
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 ## 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 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 ## How to install it locally
### With npm ### With npm