fix redirect url to port

This commit is contained in:
2025-06-13 15:30:19 +07:00
parent 6625baf7bd
commit ac55ed1b67
8 changed files with 249 additions and 29 deletions

View File

@@ -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 \