Initial commit
This commit is contained in:
commit
07ec57a453
27 changed files with 1853 additions and 0 deletions
9
docker/javascript/Dockerfile
Normal file
9
docker/javascript/Dockerfile
Normal file
|
@ -0,0 +1,9 @@
|
|||
FROM alpine
|
||||
LABEL author="1Computer1"
|
||||
|
||||
RUN apk update
|
||||
RUN apk add nodejs npm
|
||||
RUN npm i lodash moment cheerio
|
||||
|
||||
COPY run.sh /var/run/
|
||||
WORKDIR /var/ws
|
5
docker/javascript/run.sh
Normal file
5
docker/javascript/run.sh
Normal file
|
@ -0,0 +1,5 @@
|
|||
if [ "$EVAL_HARMONY" = "true" ]; then
|
||||
node --harmony -e "$1"
|
||||
else
|
||||
node -e "$1"
|
||||
fi
|
Loading…
Add table
Add a link
Reference in a new issue