Moved to Vue
This commit is contained in:
+3
-4
@@ -1,10 +1,7 @@
|
||||
FROM php:8.4-fpm-alpine
|
||||
|
||||
LABEL org.opencontainers.image.version="1.0.3"
|
||||
LABEL org.opencontainers.image.title="FlightsAPI"
|
||||
|
||||
# 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
|
||||
|
||||
# Install Composer
|
||||
@@ -16,6 +13,8 @@ COPY . .
|
||||
|
||||
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
|
||||
|
||||
RUN chown -R www-data:www-data /var/www/storage /var/www/bootstrap/cache
|
||||
|
||||
Reference in New Issue
Block a user