chore: update Dockerfile and supervisord configuration for improved logging

- Modified the Dockerfile to streamline the creation of the supervisor configuration directory.
- Updated `infra/supervisord.conf` to redirect logs to stdout and stderr, enhancing log management and visibility.
- Removed specific log file paths and sizes to simplify logging setup.
This commit is contained in:
Daniel Luiz Alves
2025-06-17 23:23:36 -03:00
parent b28f1f97c4
commit 281eff0f14
2 changed files with 12 additions and 6 deletions

View File

@@ -115,7 +115,7 @@ COPY --from=web-builder --chown=palmr:nodejs /app/web/.next/static ./.next/stati
WORKDIR /app
# Create supervisor configuration
RUN mkdir -p /etc/supervisor/conf.d /var/log/supervisor
RUN mkdir -p /etc/supervisor/conf.d
# Copy server start script
COPY infra/server-start.sh /app/server-start.sh