diff --git a/docker-compose.yml b/docker-compose.yml index e9ffe0e..b957e9a 100755 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -1,7 +1,9 @@ services: cli: - build: docker/8.3 + build: docker/8.4 restart: 'no' + tty: true + stdin_open: true working_dir: /app volumes: - .:/app diff --git a/docker/8.3/Dockerfile b/docker/8.3/Dockerfile deleted file mode 100644 index 6f4c8cf..0000000 --- a/docker/8.3/Dockerfile +++ /dev/null @@ -1,24 +0,0 @@ -FROM composer:2.7.7 AS composer -FROM php:8.3-cli - -LABEL maintainer="Rayan Levert " - -# Installing packages needed -RUN apt-get update -y && \ - apt-get install -y \ - git \ - zip - -# Enabling xdebug -RUN pecl install xdebug && docker-php-ext-enable xdebug - -# Creates the app directory -RUN mkdir /app - -# Volumes -VOLUME ["/app"] - -# Composer -COPY --from=composer /usr/bin/composer /usr/local/bin/composer - -CMD ["php-fpm"] \ No newline at end of file