Skip to content

Commit

Permalink
Mise à jour du Dockerfile : suppression des variables d'environnement…
Browse files Browse the repository at this point in the history
… USERNAME et PASSWORD, ajout d'un commentaire pour la construction de l'image finale.
  • Loading branch information
yoanbernabeu committed Dec 20, 2024
1 parent aa833c9 commit db70bf9
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -26,14 +26,13 @@ RUN APP_ENV=prod php bin/console tailwind:build --minify
RUN APP_ENV=prod php bin/console importmap:install
RUN APP_ENV=prod php bin/console asset-map:compile

# build the final image
FROM dunglas/frankenphp

ENV SERVER_NAME=your-app.com
ENV APP_RUNTIME=Runtime\\FrankenPhpSymfony\\Runtime
ENV APP_ENV=prod
ENV FRANKENPHP_CONFIG="worker ./public/index.php"
ENV USERNAME=USERNAME
ENV PASSWORD=PASSWORD

COPY . /app/
COPY --from=composer_prod /app/vendor /app/vendor
Expand Down

0 comments on commit db70bf9

Please sign in to comment.