Initial Commit

This commit is contained in:
2022-12-22 23:01:09 -07:00
commit 6f9dcd6f0c
6 changed files with 33 additions and 0 deletions
+1
View File
@@ -0,0 +1 @@
package-lock.json
+2
View File
@@ -0,0 +1,2 @@
docker build . -t gwhc/img2a
npm -g install .
+9
View File
@@ -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"]
Executable
+7
View File
@@ -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 $*
+14
View File
@@ -0,0 +1,14 @@
{
"name": "ascii-image-converter",
"version": "1.0.0",
"author": "",
"description": "",
"main": "img2a",
"bin": {
"img2a": "./img2a"
},
"scripts": {
"start": "./img2a"
},
"license": "ISC"
}
BIN
View File
Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 MiB