Moved to Vue

This commit is contained in:
2026-04-02 22:38:49 +10:00
parent 0b14b40fd6
commit 65f009d222
3 changed files with 6 additions and 5 deletions
+3
View File
@@ -2,3 +2,6 @@
vendor/ vendor/
.git/ .git/
storage/app/private/images storage/app/private/images
node_modules
public/hot
public/build
+3 -4
View File
@@ -1,10 +1,7 @@
FROM php:8.4-fpm-alpine FROM php:8.4-fpm-alpine
LABEL org.opencontainers.image.version="1.0.3"
LABEL org.opencontainers.image.title="FlightsAPI"
# Install dependencies # Install dependencies
RUN apk add --no-cache nginx curl zip unzip git postgresql-dev \ RUN apk add --no-cache nginx curl zip unzip git postgresql-dev nodejs npm \
&& docker-php-ext-install pdo pdo_pgsql pgsql opcache && docker-php-ext-install pdo pdo_pgsql pgsql opcache
# Install Composer # Install Composer
@@ -16,6 +13,8 @@ COPY . .
RUN composer install --no-dev --optimize-autoloader RUN composer install --no-dev --optimize-autoloader
RUN npm install && npm run build && rm -f public/hot
COPY docker/nginx.conf /etc/nginx/nginx.conf COPY docker/nginx.conf /etc/nginx/nginx.conf
RUN chown -R www-data:www-data /var/www/storage /var/www/bootstrap/cache RUN chown -R www-data:www-data /var/www/storage /var/www/bootstrap/cache
-1
View File
@@ -37,7 +37,6 @@ Route::domain(config('app.api_domain'))->group(function () {
Route::get('/', function () { Route::get('/', function () {
return response()->json(['message' => 'Welcome to the FlightsGoneBy API']); return response()->json(['message' => 'Welcome to the FlightsGoneBy API']);
}); });
Route::get('airlines/logos/{code}', [LogoController::class, 'getLogoByCode']);
Route::get('airlines/logos/tail/{code}', [LogoController::class, 'getLogoByCode']) Route::get('airlines/logos/tail/{code}', [LogoController::class, 'getLogoByCode'])
->where('code', '[A-Za-z0-9]{2,3}'); ->where('code', '[A-Za-z0-9]{2,3}');
}); });