From 6b01626b95ecb8f4c4de4b6dd834f41791e0a6d4 Mon Sep 17 00:00:00 2001 From: NaysKutzu Date: Sun, 24 Nov 2024 01:55:37 +0100 Subject: [PATCH] PUSH -> Fix docker i think? --- backend/Dockerfile | 2 +- backend/storage/packages/.gitkeep | 0 docker-compose.yml | 4 +--- 3 files changed, 2 insertions(+), 4 deletions(-) delete mode 100755 backend/storage/packages/.gitkeep diff --git a/backend/Dockerfile b/backend/Dockerfile index 78f70456..4dae0a2c 100755 --- a/backend/Dockerfile +++ b/backend/Dockerfile @@ -33,7 +33,7 @@ COPY --from=composer:latest /usr/bin/composer /usr/bin/composer COPY composer.json composer.lock ./ # Install dependencies -RUN cd /var/www/html && COMPOSER_ALLOW_SUPERUSER=1 composer install --no-dev --optimize-autoloader +RUN COMPOSER_ALLOW_SUPERUSER=1 composer install --no-dev --optimize-autoloader # Copy rest of the application COPY . . diff --git a/backend/storage/packages/.gitkeep b/backend/storage/packages/.gitkeep deleted file mode 100755 index e69de29b..00000000 diff --git a/docker-compose.yml b/docker-compose.yml index c1e4b9f6..0ae6ee7f 100755 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -1,5 +1,3 @@ -version: '3.8' - services: # Frontend Vue service mythical_frontend: @@ -21,7 +19,7 @@ services: container_name: mythical_backend volumes: - ./backend:/var/www/html - - ./backend/vendor:/var/www/html/vendor + - ./backend/storage/packages:/var/www/html/storage/packages depends_on: - mythical_database networks: