Skip to content

Commit

Permalink
fix: coba di peek dirnya dulu
Browse files Browse the repository at this point in the history
  • Loading branch information
reacto11mecha committed Oct 7, 2024
1 parent aa806ce commit 316a889
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion apps/processor/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@ EOF

USER processor

RUN mkdir -p /vote-processor/logs
COPY --from=builder --chown=processor:nodejs /vote-processor /vote-processor

WORKDIR /vote-processor
Expand All @@ -82,6 +83,9 @@ void consumeMessagesFromQueue(logsDirectory);
EOF

# Create the logs directory with correct permissions
RUN mkdir -p /vote-processor/logs && chown -R processor:nodejs /vote-processor/logs

# DEBUGGING PURPOSE ONLY
# peek the directory
RUN tree /vote-processor

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

0 comments on commit 316a889

Please sign in to comment.