Add health check script and improve Redis debugging
This commit is contained in:
@@ -22,10 +22,11 @@ RUN mkdir -p /tmp/data /app/data && \
|
||||
|
||||
# Copy startup scripts
|
||||
COPY start.sh /app/code/
|
||||
COPY healthcheck.js /app/code/
|
||||
COPY nginx.conf /etc/nginx/sites-available/default
|
||||
|
||||
# Make scripts executable
|
||||
RUN chmod +x /app/code/start.sh
|
||||
RUN chmod +x /app/code/start.sh /app/code/healthcheck.js
|
||||
|
||||
# Install supervisord and netcat for process management and connectivity checks
|
||||
RUN apt-get update && \
|
||||
|
Reference in New Issue
Block a user