dockerfile

This commit is contained in:
karl0ss 2019-07-13 23:39:04 +01:00
parent 09092049d0
commit 33150da9c8

View File

@ -1,17 +1,13 @@
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 ./
RUN npm install
# Bundle app source
COPY . .
EXPOSE 3000 10001/udp
CMD [ "node", "Example.js" ]