-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
fix: Update Dockerfile #815
Conversation
@HashWarlock i know you set this up like this for a reason, wanna just take a look and confirm |
What actually starts it now though? |
The last line which was modified enters the container once completed. |
I believe you are running the container using docker-compose which is also running a command on the container, I recommend removing that line from the compose file, not sending the Dockerfile to nothing at /dev/null @Freytes I'd revert the Dockerfile change and leave as it was on origin/main and instead make this PR remove line 3 from the docker-compose file: Remove This will solve your problem while also allowing the Dockerfile to deploy to many clouds such as AWS seamlessly. @odilitime |
Right now the code for In the package.json file we can see
If checking the
For the last command
If I run a test on I think the change we are looking for is to remove bash command from the |
Initially removed "command" from tee services (read this comment for more context on why: elizaOS#815 (comment)) Without deep-diving into this, I can't at a glance tell the difference between having/not having it in the compose file, so for the time-being I've decided to keep it in to maintain a better semblance with the main eliza repo.
Is this good to go? |
@lalalune I believe the original PR opener was trying to revert back to an old version where the Docker image wasn't running anything because they are using docker-compose which would double run the start command. I had previously gotten a PR merged #796 to fix the Docker setup to work better in Cloud environments like AWS ECS by adding a new I could fix this PR and make sure all 3 ways of running with Docker work:
|
that would be great! |
#1139 has replaced this PR. closing it. |
The last line of the docker file needs to be:
CMD ["tail", "-f", "/dev/null"]
Or else it runs the container twice and fails because it's already running on port 3000