docker file

This commit is contained in:
karl0ss 2019-07-13 22:47:46 +01:00
parent 272adeac34
commit 3439ae0d09

16
Dockerfile Normal file
View File

@ -0,0 +1,16 @@
FROM node:10
# Create app directory
WORKDIR /usr/src/app
# Install app dependencies
# A wildcard is used to ensure both package.json AND package-lock.json are copied
# where available (npm@5+)
COPY package*.json ./
# Bundle app source
COPY . .
EXPOSE 3000 10001
CMD [ "node", "Example.js" ]