fix redirect url to port
This commit is contained in:
@@ -22,6 +22,8 @@ RUN apt-get update && apt-get install -y \
|
||||
libvpx-dev \
|
||||
supervisor \
|
||||
nginx \
|
||||
nodejs \
|
||||
npm \
|
||||
&& rm -rf /var/lib/apt/lists/*
|
||||
|
||||
# Install PHP extensions
|
||||
@@ -54,6 +56,11 @@ COPY --chown=www-data:www-data . /var/www/html
|
||||
# Install PHP dependencies
|
||||
RUN composer install --optimize-autoloader --no-dev --no-interaction
|
||||
|
||||
# Install Node.js dependencies and build assets
|
||||
RUN npm ci --only=production \
|
||||
&& npm run production \
|
||||
&& rm -rf node_modules
|
||||
|
||||
# Create necessary directories and set permissions
|
||||
RUN mkdir -p /var/www/html/storage/logs \
|
||||
&& mkdir -p /var/www/html/storage/framework/cache \
|
||||
|
||||
Reference in New Issue
Block a user