Giter Site home page Giter Site logo

Comments (11)

smortexa avatar smortexa commented on May 26, 2024 1

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.

eTlq9JHwiT

from laravel-octane-dockerfile.

alber-khan avatar alber-khan commented on May 26, 2024

As mentioned on another thread #4
I've updated ENTRYPOINT

CMD ["/usr/bin/supervisord","-c","/etc/supervisor/conf.d/supervisord.app.conf"]
image

and it worked!
but for some reason. it's giving a new error

image

`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.

alber-khan avatar alber-khan commented on May 26, 2024

but the file does exist inside docker.

image

from laravel-octane-dockerfile.

smortexa avatar smortexa commented on May 26, 2024

Please run ls -la in storage/logs and send the output.

from laravel-octane-dockerfile.

alber-khan avatar alber-khan commented on May 26, 2024

image

from laravel-octane-dockerfile.

alber-khan avatar alber-khan commented on May 26, 2024

Thank you @smortexa that does fix the issue.

image

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.

smortexa avatar smortexa commented on May 26, 2024

Did you change the WORKDIR in the Dockefile?

from laravel-octane-dockerfile.

alber-khan avatar alber-khan commented on May 26, 2024

image
image

Nope

from laravel-octane-dockerfile.

alber-khan avatar alber-khan commented on May 26, 2024

Sorry I missed Change directory to your Laravel project

lemme try to rebuild the image again!

from laravel-octane-dockerfile.

alber-khan avatar alber-khan commented on May 26, 2024

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.

smortexa avatar smortexa commented on May 26, 2024

IMO, It's OK what is it.

from laravel-octane-dockerfile.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.