commit
6f9dcd6f0c
@ -0,0 +1 @@ |
||||
package-lock.json |
@ -0,0 +1,9 @@ |
||||
FROM golang:1.19.1 |
||||
|
||||
RUN go install github.com/TheZoraiz/ascii-image-converter@v1.11.0 |
||||
|
||||
VOLUME ["/data"] |
||||
|
||||
WORKDIR /data |
||||
|
||||
ENTRYPOINT ["/go/bin/ascii-image-converter"] |
@ -0,0 +1,7 @@ |
||||
#!/bin/sh |
||||
|
||||
# Build command |
||||
# docker build . -t gwhc/img2a |
||||
|
||||
P=`realpath $PWD` |
||||
docker run --rm -it -v $P:/data gwhc/img2a $* |
@ -0,0 +1,14 @@ |
||||
{ |
||||
"name": "ascii-image-converter", |
||||
"version": "1.0.0", |
||||
"author": "", |
||||
"description": "", |
||||
"main": "img2a", |
||||
"bin": { |
||||
"img2a": "./img2a" |
||||
}, |
||||
"scripts": { |
||||
"start": "./img2a" |
||||
}, |
||||
"license": "ISC" |
||||
} |
Loading…
Reference in new issue