@manyos/smileconnect-api 1.64.5 → 1.64.7
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 +4 -2
- package/docs/releases.md +1 -1
- package/package.json +1 -1
package/Dockerfile
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
### STAGE 1: Build ###
|
|
2
2
|
|
|
3
3
|
# We label our stage as 'builder'
|
|
4
|
-
FROM node:21 as builder
|
|
4
|
+
FROM node:21-bullseye as builder
|
|
5
5
|
ARG NPM_TOKEN
|
|
6
6
|
COPY package.json package-lock.json ./
|
|
7
7
|
|
|
@@ -19,7 +19,9 @@ COPY . .
|
|
|
19
19
|
EXPOSE 3000
|
|
20
20
|
|
|
21
21
|
RUN groupadd -g 999 appuser && \
|
|
22
|
-
useradd -r -
|
|
22
|
+
useradd -r -u 999 -g appuser appuser
|
|
23
|
+
|
|
24
|
+
RUN mkdir /home/appuser && chown 999:999 /home/appuser
|
|
23
25
|
USER appuser
|
|
24
26
|
|
|
25
27
|
CMD npm start
|
package/docs/releases.md
CHANGED