langchain-ai / opengpts

MIT License
6.31k stars 829 forks source link

fix error please #299

Closed ssifood closed 2 months ago

ssifood commented 2 months ago

backend/Dockerfile

HEALTHCHECK --interval=30s --timeout=5s --start-period=10s --start-interval=1s --retries=3 CMD [ "curl", "-f", "http://localhost:8000/health" ]

--start-interval is not working.

HEALTHCHECK --interval=30s --timeout=5s --start-period=10s --retries=3 CMD [ "curl", "-f", "http://localhost:8000/health" ]

this is working

tnakagami commented 2 months ago

@ssifood

The option of --start-interval is implemented by Docker Engine version 25.0 or later. So, please check your Docker Engine version. If Docker Engine version is less than 25.0, you need to update it.

ssifood commented 2 months ago

@tnakagami thanks!!!!!

I DO upgrade docker versions