Kano001/nodejs
0
1FROM node:182 3# Create app directory4WORKDIR /usr/src/app5 6# Install app dependencies7# A wildcard is used to ensure both package.json AND package-lock.json are copied8# where available (npm@5+)9COPY package*.json ./10 11RUN npm install12 13RUN npm init -y14 15RUN npm install colyseus16 17RUN npm install --save @colyseus/monitor18 19RUN npm install express20 21#RUN npm install ws22# If you are building your code for production23# RUN npm ci --omit=dev24 25# Bundle app source26COPY . .27 28EXPOSE 786029CMD [ "node", "server.js" ]