chore: add debug ls command to inspect /app contents before supervisor start
This commit is contained in:
parent
7a1c3688c8
commit
326df96088
@ -52,6 +52,8 @@ COPY css/ /usr/share/nginx/html/css/
|
|||||||
WORKDIR /app # Make sure this WORKDIR is set before copying to /app
|
WORKDIR /app # Make sure this WORKDIR is set before copying to /app
|
||||||
COPY --from=builder /app .
|
COPY --from=builder /app .
|
||||||
|
|
||||||
|
RUN ls -la /app # DEBUG: List contents of /app before supervisor starts
|
||||||
|
|
||||||
# Create data directory (volume will be mounted here by docker-compose)
|
# Create data directory (volume will be mounted here by docker-compose)
|
||||||
# Ensure Nginx (and Node.js if it needs to write logs/pid here) has permissions
|
# Ensure Nginx (and Node.js if it needs to write logs/pid here) has permissions
|
||||||
RUN mkdir -p /data && chown nginx:nginx /data # Or appropriate user for Node.js if it writes here
|
RUN mkdir -p /data && chown nginx:nginx /data # Or appropriate user for Node.js if it writes here
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user