Comments (1)
All that said, it's easy enough to just override the web root in one's own Nginx config, in a Dockerfile that extends this project's image:
FROM wyveo/nginx-php-fpm:php81
...
COPY . /var/www
COPY ./docker-files/nginx.conf /etc/nginx/conf.d/website.conf
RUN rm -rf /etc/nginx/conf.d/default.conf
Perhaps an example in the README.md
could illustrate this well. I'll be happy to contribute mine when it's ready. It also does npm install
and composer install
during the build. This would help resolve issue #40 as well.
from nginx-php-fpm.
Related Issues (20)
- Dockerfile ADD statement HOT 2
- Installing PHP Modules HOT 2
- Permissions to edit files from the host
- Use debian slim as a base for a smaller image? HOT 2
- add module headers-more-nginx-module to hide the Server information in the header
- Readme is not beginner friendly
- Why are we using supervisord? HOT 1
- How to build dockerfile with php71 ?
- Composer upgrade on PHP 7.x images HOT 6
- index.php
- READMEs and Docker Hub out of date HOT 3
- Laravel doesn't work HOT 2
- GPG keyserver receive failed: Connection timed out (Ubuntu)
- supervisord logs are written to filesystem
- Wrong Web Server Root Path & php.in path
- PHP don't see ENV variables HOT 1
- php 8.2 support
- Debian bookwork + php 8.3?
- Using an incorrect PGP key for the 81 image HOT 4
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 nginx-php-fpm.