diff --git a/compose.yaml b/compose.yaml
index 62d271e219b2917dc65bee35a9ce7bda44e665c9..0e9ab211d99bdc7649c1bff8484f4ac6dad2e5f2 100644
--- a/compose.yaml
+++ b/compose.yaml
@@ -12,7 +12,10 @@ services:
       - app
 
   app:
-    image: php:8.2-fpm
+    image: php_composer
+    build:
+      context: .
+      dockerfile: symfony.dockerfile
     container_name: symfony_app
     working_dir: /var/www
     volumes:
diff --git a/symfony.dockerfile b/symfony.dockerfile
index 00cf9f1be359aef955ba2ec24903434c654c3650..a773a2d1fcae79f1c8dcd817ab6a3bd468ad9ffc 100644
--- a/symfony.dockerfile
+++ b/symfony.dockerfile
@@ -1,5 +1,7 @@
+# Use official PHP-FPM image
 FROM php:8.2-fpm
 
+# Set working directory inside the container
 WORKDIR /var/www
 
 # Install required system dependencies