openBackhaul / MicroWaveDeviceGatekeeper

Gateway for PUTting to the devices
Apache License 2.0
1 stars 1 forks source link

Add docker file to create docker image #59

Closed PrathibaJee closed 9 months ago

PrathibaJee commented 9 months ago

Include docker file to create docker image

  1. Create app directory
  2. performs npm install in the impl/client 2.1. use a wildcard to ensure both package.json AND package-lock.json are copied 2.2. RUN npm install
  3. builds the impl/client folder using npm run build (This will create a build folder in the impl/client which will be utilized by the server in impl/server)
  4. performs npm install in the impl/server 4.1. use a wildcard to ensure both package.json AND package-lock.json are copied 4.2. RUN npm install
  5. Command to start the application