@ -21,7 +21,4 @@ RUN apt-get update \
php8.2-memcached php8.2-pcov php8.2-xdebug \
&& curl -sLS https://getcomposer.org/installer | php -- --install-dir=/usr/bin/ --filename=composer
EXPOSE 8080
CMD ["/bin/bash", "-c", "php artisan migrate && php artisan serve --host=0.0.0.0"]
@ -15,7 +15,7 @@ services:
context: ./backend
dockerfile: Dockerfile
volumes: [./backend:/var/www/html:Z]
ports: [8080:8080]
ports: [8000:8000]
networks: [twitter]
depends_on: [mysql]
mysql: