diff --git a/apps/processor/Dockerfile b/apps/processor/Dockerfile index 92d4c45..c694a7e 100644 --- a/apps/processor/Dockerfile +++ b/apps/processor/Dockerfile @@ -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 @@ -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"]