Comments (2)
Hi,
thank you so much for your answer and for your detailed explanation. It's really useful and i will try now to understand all of this and run the code step by step :)
Thanks a lot for your time and for sharing your knowledge.
from symfony-docker.
Hello, thanks for your word 😃
For how entrypoint works, i recommend you to look at the definition and example here : https://docs.docker.com/engine/reference/builder/#understand-how-cmd-and-entrypoint-interact
And next :
- We install Flex as a global dependency like this every command
composer
in the container even outside the project benefits of the parallale downloader. - The skeleton at this level allows you to initialize a new project with the latest stable version if you have not started or will be overwritten by the COPY, to cache it in the docker layers and to use it to initialize the volume inside the container. (the last two can be useful for publishing the image and manage it with a orchestrator in production)
- For this point, I'm not sure (I haven't studied the problem more closely at the begining), but I think with docker-compose in dev mode the volume is reset with you host (docker-compose line 18) at the first mounting, so if you don't started a project we create the skeleton dynamically to prevent errors with ACLs with
var
folder. (because your host don't have any symfony project yet)
The main link between stage 2 & 3 is for the project to work as well as in development or for production.
Note: By writing these lines, I realize that it would be useful to have the composer install after the COPY in the dockerfile to use the docker cache as much as possible for production 🤔
from symfony-docker.
Related Issues (20)
- invalid interpolation format for services.php.environment.TRUSTED_HOSTS HOT 1
- Too stupid for recipes HOT 4
- Is mecure required for production? HOT 1
- Unable to connect to external database HOT 1
- Could this repo be converted to a symfony recipe? HOT 1
- Unable to boot app in production mode HOT 2
- Large number of entities cause ORM mapping to break HOT 9
- .env.prod.local not picked up on docker compose up HOT 4
- Unable to deploy in production HOT 3
- invalid interpolation format for services.php.environment.TRUSTED_HOSTS HOT 1
- Informations about my github ci file HOT 1
- Serving Symfony Welcome Page with Docker Compose Opens phpinfo() Instead HOT 2
- Cannot install some PHP extention HOT 1
- Docker escape error HOT 1
- container no run
- Mariadb Connexion lost HOT 5
- Symfony hanging every now & then HOT 17
- Unable to start existing project
- Franken crash HOT 7
- Issue when creating the test database HOT 5
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 symfony-docker.