Add node interpretter

This commit is contained in:
Arnie
2019-03-25 07:09:17 +01:00
parent 450cae64b9
commit a499fed7ba
11 changed files with 234 additions and 0 deletions
+8
View File
@@ -0,0 +1,8 @@
ARG IMAGE_NAME
ARG IMAGE_VERSION
FROM ${IMAGE_NAME}:${IMAGE_VERSION}
COPY ["./cmd", "/cmd"]
ENTRYPOINT ["node"]
+11
View File
@@ -0,0 +1,11 @@
#!/usr/bin/env bash
echo "Waiting for commands..."
while :
do
sleep 10 &
wait
done
exit 0