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.

fix: docker entrypoint

sriram veeraghanta509d5fe5546a
diff --git a/Dockerfile b/Dockerfile
index 0d5951dee3..ec01b2a558 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -82,7 +82,7 @@ COPY apiserver/templates templates/
RUN apk --no-cache add "bash~=5.2"
COPY apiserver/bin ./bin/
-RUN chmod +x ./bin/takeoff ./bin/worker
+RUN chmod +x ./bin/*
RUN chmod -R 777 /code
# Expose container port and run entry point script
diff --git a/apiserver/Dockerfile.api b/apiserver/Dockerfile.api
index 31124c8f5e..6447e9f979 100644
--- a/apiserver/Dockerfile.api
+++ b/apiserver/Dockerfile.api
@@ -42,11 +42,10 @@ RUN apk --no-cache add "bash~=5.2"
COPY ./bin ./bin/
RUN mkdir -p /code/plane/logs
-RUN chmod +x ./bin/takeoff ./bin/worker ./bin/beat
+RUN chmod +x ./bin/*
RUN chmod -R 777 /code
# Expose container port and run entry point script
EXPOSE 8000
-# CMD [ "./bin/takeoff" ]
diff --git a/apiserver/Dockerfile.dev b/apiserver/Dockerfile.dev
index 6a225fec30..3de300db70 100644
--- a/apiserver/Dockerfile.dev
+++ b/apiserver/Dockerfile.dev
@@ -41,5 +41,5 @@ RUN chmod -R 777 /code
# Expose container port and run entry point script
EXPOSE 8000
-CMD [ "./bin/takeoff.local" ]
+CMD [ "./bin/docker-entrypoint-api-local.sh" ]
diff --git a/nginx/supervisor.conf b/nginx/supervisor.conf
index 54b4ca04d8..7e1ed70e9c 100644
--- a/nginx/supervisor.conf
+++ b/nginx/supervisor.conf
@@ -1,4 +1,4 @@
-[supervisord] ## This is the main process for the Supervisor
+[supervisord] ## This is the main process for the Supervisor
nodaemon=true
[program:node]
@@ -10,7 +10,7 @@ stdout_logfile=/var/log/node.out.log
[program:python]
directory=/code
-command=sh bin/takeoff
+command=sh bin/docker-entrypoint-api.sh
autostart=true
autorestart=true
stderr_logfile=/var/log/python.err.log