fix: pre-own store dir for non-root volume mount

This commit is contained in:
smartass
2026-06-12 00:54:01 +05:00
parent 5e841e4956
commit 783e5bc5b9
+1
View File
@@ -11,5 +11,6 @@ WORKDIR /app
ENV NODE_ENV=production
COPY --from=build /app/node_modules ./node_modules
COPY --from=build /app/dist ./dist
RUN mkdir -p /home/node/.config/dbmole && chown -R node:node /home/node/.config
USER node
ENTRYPOINT ["node", "dist/index.js"]