# syntax = docker/dockerfile:1.4 FROM cloudeye2/cooochat ENV PORT=7860 EXPOSE 7860 # make data directory accessable RUN chmod -R 777 /app/backend/data/ HEALTHCHECK CMD curl --silent --fail http://localhost:${PORT:-8080}/health | jq -ne 'input.status == true' || exit 1 CMD [ "bash", "start.sh"]