From 33150da9c8670edf33f4b55b58bc76d93a14db79 Mon Sep 17 00:00:00 2001 From: karl0ss Date: Sat, 13 Jul 2019 23:39:04 +0100 Subject: [PATCH] dockerfile --- Dockerfile | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/Dockerfile b/Dockerfile index 6aabf53..4956a50 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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" ] \ No newline at end of file