upadted
This commit is contained in:
@@ -14,8 +14,6 @@ RUN apk --update --no-cache add \
|
||||
&& docker-php-ext-configure gd --with-freetype --with-jpeg \
|
||||
&& docker-php-ext-install gd pdo pdo_mysql zip mcrypt
|
||||
|
||||
|
||||
|
||||
# Set the working directory in the container
|
||||
WORKDIR /var/www/html
|
||||
|
||||
@@ -40,10 +38,12 @@ RUN composer install
|
||||
# Generate Laravel application key
|
||||
RUN php artisan key:generate
|
||||
|
||||
# Copy the www.conf file to PHP-FPM pool.d directory
|
||||
COPY www.conf /usr/local/etc/php-fpm.d/www.conf
|
||||
|
||||
# Expose port 9000 for PHP-FPM
|
||||
EXPOSE 80
|
||||
EXPOSE 9001
|
||||
|
||||
# Start PHP-FPM
|
||||
ENTRYPOINT ["/etc/entrypoint.sh"]
|
||||
|
||||
|
||||
Reference in New Issue
Block a user