This commit is contained in:
parent
21f65dd2d2
commit
0e5de319d6
@ -30,14 +30,6 @@ RUN composer install --no-interaction --prefer-dist --optimize-autoloader
|
|||||||
# Create storage folders (in case they don't exist)
|
# Create storage folders (in case they don't exist)
|
||||||
RUN mkdir -p storage/framework/{cache,sessions,views} bootstrap/cache
|
RUN mkdir -p storage/framework/{cache,sessions,views} bootstrap/cache
|
||||||
|
|
||||||
# Generate Laravel app key
|
|
||||||
RUN php artisan key:generate
|
|
||||||
|
|
||||||
# Set permissions
|
|
||||||
RUN chown -R www-data:www-data /var/www \
|
|
||||||
&& chmod -R 775 storage bootstrap/cache \
|
|
||||||
&& chown -R www-data:www-data storage bootstrap/cache
|
|
||||||
|
|
||||||
|
|
||||||
COPY entrypoint.sh /entrypoint.sh
|
COPY entrypoint.sh /entrypoint.sh
|
||||||
RUN chmod +x /entrypoint.sh
|
RUN chmod +x /entrypoint.sh
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user