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.

feat: Adding Docker CMD in all Dockerfiles (#7339)

sriram veeraghantaf2a87e8f1533
diff --git a/apps/admin/Dockerfile.admin b/apps/admin/Dockerfile.admin
index 606d19aec8..07da8088a1 100644
--- a/apps/admin/Dockerfile.admin
+++ b/apps/admin/Dockerfile.admin
@@ -89,4 +89,6 @@ ENV NEXT_PUBLIC_WEB_BASE_URL=$NEXT_PUBLIC_WEB_BASE_URL
ENV NEXT_TELEMETRY_DISABLED=1
ENV TURBO_TELEMETRY_DISABLED=1
-EXPOSE 3000
\ No newline at end of file
+EXPOSE 3000
+
+CMD ["node", "apps/admin/server.js"]
\ No newline at end of file
diff --git a/apps/live/Dockerfile.live b/apps/live/Dockerfile.live
index 5bec2624cc..1a22ca18ac 100644
--- a/apps/live/Dockerfile.live
+++ b/apps/live/Dockerfile.live
@@ -52,3 +52,5 @@ COPY --from=installer /app/node_modules ./node_modules
ENV TURBO_TELEMETRY_DISABLED=1
EXPOSE 3000
+
+CMD ["node", "live/server.js"]
\ No newline at end of file
diff --git a/apps/server/Dockerfile.api b/apps/server/Dockerfile.api
index b0fa447885..9c95f17b1a 100644
--- a/apps/server/Dockerfile.api
+++ b/apps/server/Dockerfile.api
@@ -49,4 +49,4 @@ RUN chmod -R 777 /code
# Expose container port and run entry point script
EXPOSE 8000
-
+CMD ["./bin/docker-entrypoint-api.sh"]
\ No newline at end of file
diff --git a/apps/space/Dockerfile.space b/apps/space/Dockerfile.space
index a763344546..ae7afc2c0d 100644
--- a/apps/space/Dockerfile.space
+++ b/apps/space/Dockerfile.space
@@ -89,4 +89,6 @@ ENV NEXT_PUBLIC_WEB_BASE_URL=$NEXT_PUBLIC_WEB_BASE_URL
ENV NEXT_TELEMETRY_DISABLED=1
ENV TURBO_TELEMETRY_DISABLED=1
-EXPOSE 3000
\ No newline at end of file
+EXPOSE 3000
+
+CMD ["node", "apps/space/server.js"]
\ No newline at end of file
diff --git a/apps/web/Dockerfile.web b/apps/web/Dockerfile.web
index 40b9bb597d..a09aa64044 100644
--- a/apps/web/Dockerfile.web
+++ b/apps/web/Dockerfile.web
@@ -106,4 +106,6 @@ ENV NEXT_PUBLIC_WEB_BASE_URL=$NEXT_PUBLIC_WEB_BASE_URL
ENV NEXT_TELEMETRY_DISABLED=1
ENV TURBO_TELEMETRY_DISABLED=1
-EXPOSE 3000
\ No newline at end of file
+EXPOSE 3000
+
+CMD ["node", "apps/web/server.js"]
\ No newline at end of file