dockerfile updates

This commit is contained in:
karl0ss 2019-07-13 23:36:42 +01:00
parent 0dcc8ca4fa
commit c8e3ed76e7

View File

@ -8,9 +8,10 @@ WORKDIR /usr/src/app
# where available (npm@5+) # where available (npm@5+)
COPY package*.json ./ COPY package*.json ./
RUN npm install
# Bundle app source # Bundle app source
COPY . . COPY . .
EXPOSE 3000 10001 EXPOSE 3000 10001/udp
CMD [ "node", "Example.js" ] CMD [ "node", "Example.js" ]