1
0
Fork 0
salty-dog/Dockerfile

11 lines
317 B
Docker
Raw Normal View History

2019-06-16 02:59:37 +00:00
FROM node:11-stretch
2019-06-17 14:11:26 +00:00
# copy config and rules, which change rarely
COPY docs/config-docker.yml /root/.salty-dog.yml
COPY rules /rules
# copy package and bundle, which change often
2019-06-16 02:59:37 +00:00
COPY package.json /salty-dog/package.json
COPY out/bundle.js /salty-dog/out/bundle.js
2019-06-16 02:59:37 +00:00
ENTRYPOINT [ "node", "/salty-dog/out/bundle.js" ]