Skip to content

Commit

Permalink
fix: memperbaiki EISDIR karena tidak di buat file log terlebih dahulu
Browse files Browse the repository at this point in the history
  • Loading branch information
reacto11mecha committed Jul 20, 2024
1 parent d0d9561 commit cf8c826
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions apps/processor/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -76,4 +76,6 @@ const __dirname = path.dirname(__filename);
void consumeMessagesFromQueue(__dirname);
EOF

RUN echo "" > processor.log && chown ${USER}:${USER} processor.log

CMD ["node", "index.js"]

0 comments on commit cf8c826

Please sign in to comment.