Wirecloud / docker-wirecloud

🐳 Docker Official Image packaging for WireCloud https://conwet.fi.upm.es/wirecloud
Other
8 stars 15 forks source link

Fix healtcheck script on dev #30

Closed aarranz closed 5 years ago

aarranz commented 5 years ago

This PR fixes healthcheck script on the dev image. Currently it has an extra CMD that makes docker use an incorrect healtcheck script:

HEALTHCHECK CMD --interval=3s \
    CMD curl --fail http://localhost:8000/api/features || exit 1

The correct declaration is:

HEALTHCHECK --interval=3s \
    CMD curl --fail http://localhost:8000/api/features || exit 1