-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: improve codespace init time & experience #55
feat: improve codespace init time & experience #55
Conversation
.devcontainer/setup.sh
Outdated
nohup bash -c "cd /wilco-agent && node agent.js &" >> /tmp/agent.log 2>&1 | ||
nohup bash -c "cd /wilco-agent && node agent.js &" >> /tmp/agent.log 2>&1 | ||
|
||
if command -v docker-compose &> /dev/null |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
what does it mean?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
if docker compose exists
container_name: anythink-frontend-react | ||
command: sh -c "cd frontend && yarn install && /wait-for-it.sh anythink-backend-java:3000 -t 120 --strict -- curl --head -X GET --retry 30 --retry-connrefused --retry-delay 1 anythink-backend-java:3000/api/ping && yarn start" | ||
command: sh -c "cd frontend && /wait-for-it.sh anythink-backend-java:3000 -t 120 --strict -- curl --head -X GET --retry 30 --retry-connrefused --retry-delay 1 anythink-backend-java:3000/api/ping && yarn start" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yarn install is when users add packages
.framework/python/docker-compose.yml
Outdated
@@ -1,6 +1,7 @@ | |||
services: | |||
anythink-backend-python: | |||
build: ./backend |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
don't need to remove build?
@@ -1,6 +1,6 @@ | |||
services: | |||
anythink-backend-java: | |||
build: ./backend |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
if we do it, remove the Docker file from each directory
Remove the Dockerfile files, now that we don't need it |
@shem8 removed |
Description
Improvements to make docker compose run faster.