Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
M
mark-web
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
cylab
mark-web
Commits
c3fa2b1e
Commit
c3fa2b1e
authored
4 years ago
by
Thibault Debatty
Browse files
Options
Downloads
Patches
Plain Diff
Make sure db.sqlite is writable. Fix issue
#18
parent
6d163e52
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Pipeline
#5026
passed
4 years ago
Stage: test
Stage: build
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
Dockerfile
+4
-4
4 additions, 4 deletions
Dockerfile
with
4 additions
and
4 deletions
Dockerfile
+
4
−
4
View file @
c3fa2b1e
...
...
@@ -43,10 +43,6 @@ COPY --from=node /var/www/html/public/css /var/www/html/public/css
COPY
--from=node /var/www/html/public/js /var/www/html/public/js
COPY
--from=node /var/www/html/public/fonts /var/www/html/public/fonts
# these directories need to be writable by Apache
RUN
chown
-R
www-data:www-data /var/www/html/storage
\
/var/www/html/bootstrap/cache
# copy env file for our Docker image
COPY
env.docker /var/www/html/.env
...
...
@@ -55,6 +51,10 @@ RUN mkdir -p storage/app \
&&
touch
storage/app/db.sqlite
\
&&
php artisan migrate
# these directories need to be writable by Apache
RUN
chown
-R
www-data:www-data /var/www/html/storage
\
/var/www/html/bootstrap/cache
# clear config cache
RUN
php artisan config:clear
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment