diff --git a/Dockerfile b/Dockerfile index 9f88cfb..a9e9d94 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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"]