Redis – Setup different user permissions on files copied in Dockerfile
I have this Dockerfile setup: FROM node:14.5-buster-slim AS base WORKDIR /app FROM base AS production ENV NODE_ENV=production RUN chown -R node:node /app RUN chmod 755 /app USER node ... other copies COPY ./scripts/startup-production.sh ./ COPY ./scripts/healthz.sh ./ CMD ["./startup-production.sh"] The…