Cors updated

This commit is contained in:
2025-05-28 10:02:16 +05:30
parent 41e2075c55
commit 6573108a29
10 changed files with 23 additions and 52 deletions

View File

@@ -14,8 +14,9 @@ COPY package-lock.json ./
RUN npm install --ignore-scripts
RUN addgroup -S appgroup && adduser -S appuser -G appgroup
RUN chown -R appuser:appgroup /usr/src/app
RUN addgroup -S appgroup && \
adduser -S appuser -G appgroup && \
chown -R appuser:appgroup /usr/src/app
# Switch to non-root user
USER appuser