mirror of
https://github.com/dunglas/frankenphp.git
synced 2025-12-24 13:38:11 +08:00
docs: warn about .dockerignore when embedding (#609)
* Add notice for .dockerignore issues in embed.md * Add french notice for .dockerignore issues in embed.md * Add chinese notice for .dockerignore issues in embed.md * Fix whitespaces in documentation * Apply suggestions for translations Co-authored-by: Jerry Ma <jesse2061@outlook.com> Co-authored-by: Kévin Dunglas <kevin@dunglas.fr> --------- Co-authored-by: Jerry Ma <jesse2061@outlook.com> Co-authored-by: Kévin Dunglas <kevin@dunglas.fr>
This commit is contained in:
@@ -59,6 +59,11 @@ composer dump-env prod
|
||||
./build-static.sh
|
||||
```
|
||||
|
||||
> [!CAUTION]
|
||||
>
|
||||
> 某些 .dockerignore 文件(例如默认的 [symfony-docker .dockerignore](https://github.com/dunglas/symfony-docker/blob/main/.dockerignore))会忽略 vendor
|
||||
> 文件夹和环境文件。在构建之前,请务必调整或删除 .dockerignore 文件。
|
||||
|
||||
2. 构建:
|
||||
|
||||
```console
|
||||
|
||||
@@ -59,6 +59,11 @@ The easiest way to create a Linux binary is to use the Docker-based builder we p
|
||||
./build-static.sh
|
||||
```
|
||||
|
||||
> [!CAUTION]
|
||||
>
|
||||
> Some `.dockerignore` files (e.g. default [Symfony Docker `.dockerignore`](https://github.com/dunglas/symfony-docker/blob/main/.dockerignore))
|
||||
> will ignore the `vendor/` directory and `.env` files. Be sure to adjust or remove the `.dockerignore` file before the build.
|
||||
|
||||
2. Build:
|
||||
|
||||
```console
|
||||
|
||||
@@ -59,6 +59,11 @@ La manière la plus simple de créer un binaire Linux est d'utiliser le builder
|
||||
./build-static.sh
|
||||
```
|
||||
|
||||
> [!CAUTION]
|
||||
>
|
||||
> Certains fichiers `.dockerignore` (par exemple celui fourni par défaut par [Symfony Docker](https://github.com/dunglas/symfony-docker/blob/main/.dockerignore))
|
||||
> empêchent la copie du dossier `vendor/` et des fichiers `.env`. Assurez-vous d'ajuster ou de supprimer le fichier `.dockerignore` avant le build.
|
||||
|
||||
2. Construisez:
|
||||
|
||||
```console
|
||||
|
||||
Reference in New Issue
Block a user