@manyos/smileconnect-api 1.64.8 → 1.64.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/Dockerfile +3 -5
  2. package/package.json +1 -1
package/Dockerfile CHANGED
@@ -16,12 +16,10 @@ WORKDIR /home/node/app
16
16
 
17
17
  COPY . .
18
18
 
19
- EXPOSE 3000
19
+ RUN mkdir /.npm && chmod 777 /.npm && chmod -R 777 /home/node/app/conf && chown -R node:node /home/node/app && chown -R node:node /node_modules
20
20
 
21
- RUN groupadd -g 999 appuser && \
22
- useradd -r -u 999 -g appuser appuser
21
+ USER node
23
22
 
24
- RUN mkdir /home/appuser && chown 999:999 /home/appuser
25
- USER appuser
23
+ EXPOSE 3000
26
24
 
27
25
  CMD npm start
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@manyos/smileconnect-api",
3
- "version": "1.64.8",
3
+ "version": "1.64.9",
4
4
  "description": "A proxy and abstraction layer for BMCs IT Service Management Suite",
5
5
  "main": "app.js",
6
6
  "scripts": {