1
0
Fork 0

build: add dockerfile

This commit is contained in:
ssube 2019-06-15 21:59:37 -05:00
parent 4a124ebb8b
commit 172efb92c2
1 changed files with 12 additions and 0 deletions

12
Dockerfile Normal file
View File

@ -0,0 +1,12 @@
FROM node:11-stretch
COPY package.json /salty-dog/package.json
COPY out/ /salty-dog/out
WORKDIR /salty-dog
RUN npm link
ENV PATH "${PATH}:/usr/local/lib/node_modules"
ENTRYPOINT [ "node", "/salty-dog/out/bundle.js" ]