mirror of
https://gitlab.com/CIEFWorldwideSdnBhd/exchange.git
synced 2026-08-24 06:44:20 +00:00
fix storage access denied
This commit is contained in:
+3
-2
@@ -3,8 +3,9 @@ RUN apt-get update -y && apt-get install -y openssl zip unzip git zlib1g-dev net
|
||||
RUN curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer
|
||||
RUN docker-php-ext-configure gd --with-freetype-dir=/usr/include/ --with-jpeg-dir=/usr/include/
|
||||
RUN docker-php-ext-install pdo pdo_mysql zip gd
|
||||
WORKDIR /app
|
||||
COPY . /app
|
||||
WORKDIR /var/www
|
||||
COPY . /var/www
|
||||
RUN chmod -R 777 /var/www/storage
|
||||
|
||||
RUN composer install
|
||||
RUN php artisan clear-compiled
|
||||
|
||||
Reference in New Issue
Block a user