Create cache directories for laravel
This commit is contained in:
parent
3c1bb8fa76
commit
678c7eafa1
1 changed files with 4 additions and 0 deletions
|
|
@ -8,6 +8,10 @@ COPY --from=composer:latest /usr/bin/composer /usr/bin/composer
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
COPY . .
|
COPY . .
|
||||||
|
|
||||||
|
# Create cache dirs
|
||||||
|
RUN mkdir -p storage/framework/sessions storage/framework/views storage/framework/cache bootstrap/cache
|
||||||
|
RUN chmod -R 777 storage bootstrap/cache
|
||||||
|
|
||||||
# Install dependencies
|
# Install dependencies
|
||||||
RUN composer install --no-interaction --prefer-dist --optimize-autoloader --no-security-blocking
|
RUN composer install --no-interaction --prefer-dist --optimize-autoloader --no-security-blocking
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue