Comments (11)
The /usr/bin/env: 'bash\r': No such file or directory
is about OS line endings. You should remove \r
chars. If you are using VSCode, open the entrypoint.sh
and all other bash files and change the end of line sequence to LF
and rebuild the image.
from laravel-octane-dockerfile.
As mentioned on another thread #4
I've updated ENTRYPOINT
CMD ["/usr/bin/supervisord","-c","/etc/supervisor/conf.d/supervisord.app.conf"]
and it worked!
but for some reason. it's giving a new error
`In StreamHandler.php line 216:
There is no existing directory at "/www/wwwroot/newpanja.test/storage/logs"
and it could not be created: Permission denied`
from laravel-octane-dockerfile.
but the file does exist inside docker.
from laravel-octane-dockerfile.
Please run ls -la
in storage/logs
and send the output.
from laravel-octane-dockerfile.
from laravel-octane-dockerfile.
Thank you @smortexa that does fix the issue.
do you know why storage/logs
it's taking the local directory of my server in instead of /var/www/html
from laravel-octane-dockerfile.
Did you change the WORKDIR
in the Dockefile?
from laravel-octane-dockerfile.
Nope
from laravel-octane-dockerfile.
Sorry I missed Change directory to your Laravel project
lemme try to rebuild the image again!
from laravel-octane-dockerfile.
Thank you @smortexa it works.
i think it's best if we can pass WORKDIR via --build-arg
what do you think?
from laravel-octane-dockerfile.
IMO, It's OK what is it.
from laravel-octane-dockerfile.
Related Issues (20)
- Add apt-get update for INSTALL_PG_CLIENT
- doesnt work
- Default image HOT 1
- The "--audit" option does not exist. HOT 3
- error HOT 1
- Scheduler issues - can't run overlapping tasks HOT 1
- Zombie processes inside scheduler container for runInBackground() tasks HOT 1
- Docker compose HOT 3
- Question regarding running app + horizon + scheduler HOT 4
- Cannot find module @rollup/rollup-linux-x64-musl HOT 5
- HTTPS support HOT 7
- Unable to locate binary HOT 3
- What does the environment=LARAVEL_OCTANE="1" in supervisord do? HOT 1
- Node assets build should occur after composer install HOT 3
- Error on clear-scheduler-cache job at startup: (exit status 0; not expected) HOT 3
- PHP Fatal error: Uncaught Error: Class "Laravel\Octane\Octane" not found in /var/www/html/vendor/laravel/octane/src/Stream.php:56 HOT 3
- permission denied at install-php-extensions
- Use php:{version}-cli-alpine instead of bookworm for Swoole and RR HOT 2
- Local development - WARN exited: octane_00 (exit status 139; not expected) HOT 4
- 500 error when .env file is not created: "No application encryption key has been specified"
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from laravel-octane-dockerfile.