Skip to content

"ERROR: Service 'api' failed to build : Build failed" #1339

Discussion options

You must be logged in to vote

Moved to troubleshooting because the dockerfile/compose file is working: https://github.com/danny-avila/LibreChat/actions/runs/7172598083

If build is failing in your env, you may not have enough resources but that is odd since I'm able to build just fine with similar specs:

try your version of these ordered steps

# Stop the container (if running)
docker-compose down
# Fetch the latest changes from Github
git fetch origin
# Switch to the repo's main branch
git checkout main
# Pull the latest changes to the main branch from Github
git pull origin main
# Prune all LibreChat Docker images
docker rmi librechat:latest
# Remove all unused dangling Docker images
docker image prune -f
# Building a…

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@underlines
Comment options

@danny-avila
Comment options

Answer selected by underlines
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
2 participants
Converted from issue

This discussion was converted from issue #1337 on December 13, 2023 00:44.