openfoodfacts / search-a-licious

🍊🔎 A pluggable search service for large collections of objects (like Open Food Facts)
https://search.openfoodfacts.org
GNU Affero General Public License v3.0
6 stars 4 forks source link

Use Docker V2 recommended syntax in Makefile #89

Closed amottier closed 1 month ago

amottier commented 4 months ago

Problem

With recent version of Docker, Docker Compose is part of docker CLI and can be run using docker compose instead of docker-compose. With my setup on Debian using Docker package repository the docker-compose command is not available (in remains available for user of Docker desktop according to Migrate to Compose V2 documentation). Updating to the new syntax would ease the build of Docker image in up to date environment.

Proposed solution

Replace docker-compose by docker compose.

alexgarel commented 3 months ago

Hi @amottier, feel free to propose a PR !

amottier commented 1 month ago

This issue has been fixed by 003739c5b8ec7b93006555feff4375a43677f1dd Thanks :+1: