mirror of
https://github.com/rastapasta/mapscii.git
synced 2025-06-20 01:37:40 +02:00
Merge pull request #1 from tostt/tostt-patch-1
instructions for running with docker
This commit is contained in:
commit
9195b9144b
17
README.md
17
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
|
## 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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user