From 5cc90ff98745a16db90d10c2ae1fee766739674d Mon Sep 17 00:00:00 2001 From: thisfro Date: Wed, 5 May 2021 12:10:38 +0200 Subject: [PATCH] update dockerfile --- Dockerfile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index 7baea6d..56d5106 100644 --- a/Dockerfile +++ b/Dockerfile @@ -13,10 +13,10 @@ RUN php -r "copy('https://getcomposer.org/installer', 'composer-setup.php');" && RUN npm install --global yarn -RUN php composer.phar update && yarn +COPY * . + +RUN php composer.phar update && yarn install RUN yarn build RUN wget https://get.symfony.com/cli/installer -O - | bash && \ -COPY .env .env - CMD /root/.symfony/bin/symfony console doctrine:migrations:migrate && /root/.symfony/bin/symfony serve --port=9999 --no-tls