@oalacea/demon 1.0.9 → 1.1.1
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/bin/Dockerfile +3 -2
- package/package.json +1 -1
package/bin/Dockerfile
CHANGED
|
@@ -53,10 +53,11 @@ RUN ARCH=$([ "$TARGETARCH" = "arm64" ] && echo "arm64" || echo "amd64") && \
|
|
|
53
53
|
RUN npm install -g \
|
|
54
54
|
supertest \
|
|
55
55
|
msw \
|
|
56
|
-
|
|
56
|
+
prisma
|
|
57
57
|
|
|
58
58
|
# Create non-root user for security
|
|
59
|
-
|
|
59
|
+
# Use UID 1001 to avoid conflict with existing node user (UID 1000)
|
|
60
|
+
RUN useradd -m -u 1001 -s /bin/bash demon && \
|
|
60
61
|
mkdir -p /app && \
|
|
61
62
|
chown -R demon:demon /app
|
|
62
63
|
|