From 620c63951f315fc339c7022544acd92d05523b2f Mon Sep 17 00:00:00 2001 From: Kunthawat Greethong Date: Wed, 29 Apr 2026 20:45:47 +0700 Subject: [PATCH] Remove user creation and chown (Easypanel manages permissions differently) Co-Authored-By: Claude Opus 4.6 --- Dockerfile | 6 ------ 1 file changed, 6 deletions(-) diff --git a/Dockerfile b/Dockerfile index 3424bab..3eb6226 100644 --- a/Dockerfile +++ b/Dockerfile @@ -24,16 +24,10 @@ WORKDIR /app ENV NODE_ENV=production ENV HOST=0.0.0.0 -RUN adduser --system --uid 1001 astro - COPY --from=builder /app/node_modules ./node_modules COPY --from=builder /app/dist ./dist COPY --from=builder /app/data.db ./data.db -RUN chown -R astro:astro /app - -USER astro - EXPOSE 4321 CMD ["node", "./dist/server/entry.mjs"]