3 ms·
That docker command isn't "copying" anything; it's mounting, and I really hope people aren't doing that in production. There's a separate section on running in
by withinboredom 2y ago
That docker command isn't "copying" anything; it's mounting, and I really hope people aren't doing that in production. There's a separate section on running in production.
- notpushkin 2y agoProduction deployment guide also suggests copying everything (`COPY . /app/public`). https://frankenphp.dev/docs/production/ https://frankenphp.dev/docs/production/
- floflophp 2y agoYour .dockerignore is supposed to filter out for you. In the Symfony default implementation, you have this file you can use: https://github.com/dunglas/symfony-docker/blob/main/.dockerignore https://github.com/dunglas/symfony-docker/blob/main/.dockeri...