fix perms
Some checks failed
Build and publish farmacia-bot images / Build and push client's image to Gitea's registry (push) Failing after 13s
Build and publish farmacia-bot images / deploy_ovh (push) Has been skipped

This commit is contained in:
Giancarmine Salucci 2025-04-15 13:32:23 +02:00
parent dcaf485131
commit 3ac4d95a41

View File

@ -1,7 +1,7 @@
FROM node:23-alpine FROM node:23-alpine
# Create a non-root user # Create a non-root user with specific UID and GID
RUN addgroup -S appgroup && adduser -S appuser -G appgroup RUN addgroup -g 1000 -S appgroup && adduser -u 1000 -S -G appgroup appuser
# Set working directory # Set working directory
WORKDIR /home/appuser/app WORKDIR /home/appuser/app