[INFRA-213] Fix aio dockerfile with new file structure (#7427)

* fix: update paths in Dockerfile and supervisor.conf for application directories

* fix: update live command in supervisor.conf to use server.js
This commit is contained in:
Akshat Jain
2025-07-17 14:59:13 +05:30
committed by GitHub
parent e313aee3df
commit 3783e34ae8
2 changed files with 7 additions and 6 deletions

View File

@@ -36,8 +36,9 @@ COPY --from=space-img /app /app/space
COPY --from=admin-img /app /app/admin
COPY --from=live-img /app /app/live
RUN rm -rf /app/web/web/.next/cache && \
rm -rf /app/space/space/.next/cache
RUN rm -rf /app/web/apps/web/.next/cache && \
rm -rf /app/space/apps/space/.next/cache && \
rm -rf /app/admin/apps/admin/.next/cache
COPY --from=proxy-img /usr/bin/caddy /usr/bin/caddy
COPY dist/Caddyfile /app/proxy/Caddyfile

View File

@@ -18,7 +18,7 @@ priority=10
[program:web]
command=sh -c "node /app/web/web/server.js"
command=sh -c "node /app/web/apps/web/server.js"
autostart=true
autorestart=true
stdout_logfile=/app/logs/access/web.log
@@ -30,7 +30,7 @@ environment=PORT=3001,HOSTNAME=0.0.0.0
priority=15
[program:space]
command=sh -c "node /app/space/space/server.js"
command=sh -c "node /app/space/apps/space/server.js"
autostart=true
autorestart=true
stdout_logfile=/app/logs/access/space.log
@@ -42,7 +42,7 @@ environment=PORT=3002,HOSTNAME=0.0.0.0
priority=15
[program:admin]
command=sh -c "node /app/admin/admin/server.js"
command=sh -c "node /app/admin/apps/admin/server.js"
autostart=true
autorestart=true
stdout_logfile=/app/logs/access/admin.log
@@ -97,7 +97,7 @@ priority=20
[program:live]
directory=/app/live
command=sh -c "node live/dist/start.js live"
command=sh -c "node live/server.js"
autostart=true
autorestart=true
stdout_logfile=/app/logs/access/live.log