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