@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.
- package/Dockerfile +3 -5
- package/package.json +1 -1
package/Dockerfile
CHANGED
|
@@ -16,12 +16,10 @@ WORKDIR /home/node/app
|
|
|
16
16
|
|
|
17
17
|
COPY . .
|
|
18
18
|
|
|
19
|
-
|
|
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
|
-
|
|
22
|
-
useradd -r -u 999 -g appuser appuser
|
|
21
|
+
USER node
|
|
23
22
|
|
|
24
|
-
|
|
25
|
-
USER appuser
|
|
23
|
+
EXPOSE 3000
|
|
26
24
|
|
|
27
25
|
CMD npm start
|