mvd81 / docker-laravel Goto Github PK
View Code? Open in Web Editor NEWRepo to setup a new Laravel project with Docker (compose)
Repo to setup a new Laravel project with Docker (compose)
Started the install with a user "laravel" in a dir owned by this user.
used the command:
sudo bash install.sh
[+] Running 1/0
⠿ Container laravel_php Running 0.0s
Creating a "laravel/laravel" project at "./"
https://repo.packagist.org could not be fully loaded (rename(/tmp/cache/repo/https---repo.packagist.org/packages.json.65f2ea988f9502.48229225.tmp,/tmp/cache/repo/https---repo.packagist.org/packages.json): Operation not permitted), package information was loaded from the local cache and may be out of date
Installing laravel/laravel (v11.0.2)
Failed to download laravel/laravel from dist: /var/www/html/vendor/composer does not exist and could not be created:
Now trying to download from source
In Filesystem.php line 332:
Could not delete /var/www/html/.:
create-project [-s|--stability STABILITY] [--prefer-source] [--prefer-dist] [--prefer-install PREFER-INSTALL] [--repository REPOSITORY] [--repository-url REPOSITORY-URL] [--add-repository] [--dev] [--no-dev] [--no-custom-installers] [--no-scripts] [--no-progress] [--no-secure-http] [--keep-vcs] [--remove-vcs] [--no-install] [--no-audit] [--audit-format AUDIT-FORMAT] [--ignore-platform-req IGNORE-PLATFORM-REQ] [--ignore-platform-reqs] [--ask] [--] [ [ []]]
[+] Running 1/0
⠿ Container laravel_php Running 0.0s
In RequireCommand.php line 143:
file_put_contents(./composer.json): Failed to open stream: Permission denied
Hi,
First of all thank you for publicizing your repo.
I have cloned the repo, but I am experiencing some issues. Disclaimer: I am fairly new to Docker.
I would like to use the artisan command, but I get "/usr/local/bin/docker-php-entrypoint: 9: exec: artisan: not found" when I use the following: docker-compose run php artisan serve.
What would you recommend doing in this case?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.