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: