Snek/Dockerfile

4 lines
384 B
Docker
Raw Normal View History

2020-04-07 18:09:02 +00:00
FROM alpine:3.11.5
2020-04-15 00:39:03 +00:00
RUN apk add --no-cache nodejs npm git imagemagick make python3 python2 alpine-sdk bc && npm i -g node-gyp && git clone https://gitdab.com/Codinget/Snek /snek && cd /snek && npm i --unsafe-perm && make clean && apk del bc git make imagemagick python2 python3 alpine-sdk && printf '#!/bin/sh\ncd /snek\nnpm start\n' > start.sh && chmod +x start.sh
2020-04-07 18:09:02 +00:00
CMD /snek/start.sh