-
-
Notifications
You must be signed in to change notification settings - Fork 328
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Different configuration for Docker - Need Help #83
Comments
Hello @ClaudeTheRed this is the place where you can change OS (e.g. Debian Buster) for Docker this is the place where you can change HTTP server (e.g. Apache) Hope this helps. |
Hello, i'm trying to do what you said, but i wonder if what im doing it's alright, cause it's something i haven't used before so a lot of things i just have never heard of. This is how i modified the dockerfile: Install some must-havesRUN apt-get install -y vim wget sendmail Install PHP 7.2 on BusterRUN apt-get install -y php7.3 RUN apt-get install -y #RUN apt-get install -y php-imap php-mcrypt php-pecl-imagick php-pspell php-tidy Prepare PHP environmentCOPY config/php/php-fpm.conf /etc/php-fpm.conf Install ComposerRUN curl -sS https://getcomposer.org/installer | php Install Node.jsRUN apt-get install -y nodejs Final update and clean up#RUN yum -y update Define work directoryWORKDIR /var/www/laravel-boilerplate Expose portsEXPOSE 9000 CMD ["php-fpm", "-F", "-O"] This is how i modified the docker-compose.yml But there's a thing called volume that leads to a nginx config and i don't know what to do with it. |
Yes, this might be correct configuration. |
I'm getting errors at RUN apt-get install -y php-imap php-mcrypt php-pecl-imagick php-pspell php-tidy and RUN mv composer.phar /usr/bin/composer |
E: Package 'php-mcrypt' has no installation candidate mv: cannot stat 'composer.phar': No such file or directory E: Unable to locate package php-process |
Hello, i'm doing a project at a class and they required i use this template to work with laravel and Docker, but also told me i have to use Debian Buster and apache, so i wanted to know how i would go about modifying the dockerfile and dockercompose to match what im being asked to do or if i should install without docker and create my own dockerfile but a simpler versión to run the code.
I would appreciate any help because my teachers haven't really taught us how to use docker but we need to use it.
The text was updated successfully, but these errors were encountered: