File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11FROM php:7.4-apache
22
3- # Copia Composer desde la imagen oficial en una etapa de construcción separada
43COPY --from=composer:latest /usr/bin/composer /usr/local/bin/composer
54
65RUN apt update && apt install -y \
@@ -16,11 +15,9 @@ RUN docker-php-ext-install \
1615COPY ./docker/vhost.conf /etc/apache2/sites-available/000-default.conf
1716COPY ./ /var/www/html
1817
19- # Instalar dependencias de Composer
2018WORKDIR /var/www/html
2119RUN composer install --no-dev --prefer-dist --optimize-autoloader
2220
23- # Generar documentación de Swagger
2421RUN php artisan l5-swagger:generate
2522
2623RUN mkdir -p storage/framework/sessions
Original file line number Diff line number Diff line change 6464 Route::delete ('apps/{id} ' , 'ApplicationController@delete ' );
6565 Route::patch ('apps/{id} ' , 'ApplicationController@update ' );
6666
67- // Rutas adicionales para manejar el estado activo/inactivo
67+ // Routes for activating/deactivating applications
6868 Route::patch ('apps/{id}/activate ' , 'ApplicationController@activate ' );
6969 Route::patch ('apps/{id}/deactivate ' , 'ApplicationController@deactivate ' );
7070 Route::get ('admin/apps ' , 'ApplicationController@getAllForAdmin ' );
You can’t perform that action at this time.
0 commit comments