Skip to content

armgit / plane

Public Imported from GitHub
0

πŸ”₯πŸ”₯πŸ”₯ Open-source Jira, Linear, Monday, and ClickUp alternative. Plane is a modern project management platform to manage tasks, sprints, docs, and triage.

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

Akshat Jain3783e34ae8f1
diff --git a/deployments/aio/community/Dockerfile b/deployments/aio/community/Dockerfile
index 6c96940525..b217d09f8b 100644
--- a/deployments/aio/community/Dockerfile
+++ b/deployments/aio/community/Dockerfile
@@ -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
diff --git a/deployments/aio/community/supervisor.conf b/deployments/aio/community/supervisor.conf
index 6a3b1b87d9..20a51f0c50 100644
--- a/deployments/aio/community/supervisor.conf
+++ b/deployments/aio/community/supervisor.conf
@@ -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