Commit 733bfd95 by shameelaz

# Create .env from example so artisan key:generate works at runtime

parent fb1f451f
...@@ -38,6 +38,9 @@ COPY --from=composer:2.2 /usr/bin/composer /usr/bin/composer ...@@ -38,6 +38,9 @@ COPY --from=composer:2.2 /usr/bin/composer /usr/bin/composer
# Copy existing application directory # Copy existing application directory
COPY . /var/www/html COPY . /var/www/html
# Create .env from example so artisan key:generate works at runtime
RUN cp /var/www/html/.env.example /var/www/html/.env
# Set permissions # Set permissions
RUN chown -R www-data:www-data /var/www/html/storage /var/www/html/bootstrap/cache RUN chown -R www-data:www-data /var/www/html/storage /var/www/html/bootstrap/cache
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment