added Dockerfile (closes #27)

This commit is contained in:
2020-04-07 20:09:02 +02:00
parent 0d1087ef7b
commit 51dacea167
2 changed files with 7 additions and 6 deletions
+3
View File
@@ -0,0 +1,3 @@
FROM alpine:3.11.5
RUN apk add --no-cache nodejs npm git imagemagick make && git clone https://gitdab.com/Codinget/Snek /snek && cd /snek && npm i && make && apk del git make imagemagick && printf '#!/bin/sh\ncd /snek\nnpm start\n' > start.sh && chmod +x start.sh
CMD /snek/start.sh