diff --git a/Dockerfile b/Dockerfile index 32fb44a..826a676 100644 --- a/Dockerfile +++ b/Dockerfile @@ -123,7 +123,8 @@ RUN set -eux; \ # copy sources COPY --link . ./ -RUN rm -Rf frankenphp/ +RUN rm -Rf frankenphp/ && \ + test -f .env || cp .env.example .env # Copier les assets compilés depuis le stage Node.js COPY --from=node_build /app/public/build ./public/build