build: add dockerfile
This commit is contained in:
parent
4a124ebb8b
commit
172efb92c2
|
@ -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" ]
|
Loading…
Reference in New Issue