Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
3
3f-timesheet
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
dockers
3f-timesheet
Commits
5c22f196
Commit
5c22f196
authored
Jul 02, 2026
by
shameelaz
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
commit entrypoint
parent
cdf0f598
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
3 deletions
+6
-3
Dockerfile
+0
-3
entrypoint.sh
+6
-0
No files found.
Dockerfile
View file @
5c22f196
...
...
@@ -37,9 +37,6 @@ COPY --from=composer:2.2 /usr/bin/composer /usr/bin/composer
# Copy existing application directory
COPY
. /var/www/html
# Install Laravel dependencies during build
RUN
COMPOSER_MEMORY_LIMIT
=
-1
composer install
--no-interaction
--optimize-autoloader
--no-scripts
--ignore-platform-reqs
# Set permissions
RUN
chown
-R
www-data:www-data /var/www/html/storage /var/www/html/bootstrap/cache
...
...
entrypoint.sh
View file @
5c22f196
...
...
@@ -7,6 +7,12 @@ find . -type f -exec chmod 664 {} \;
chown
-R
www-data:www-data storage bootstrap/cache
chmod
-R
775 storage bootstrap/cache
# Composer install
if
[
!
-d
"vendor"
]
;
then
echo
"Installing Composer dependencies..."
COMPOSER_MEMORY_LIMIT
=
-1
composer install
--no-interaction
--prefer-dist
fi
# Ensure symlinks exist
php artisan storage:link
php artisan laravolt:link-assets
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment