update dockerfile

This commit is contained in:
Jannis Portmann 2021-05-05 12:10:38 +02:00
parent ce130b338c
commit 5cc90ff987

View file

@ -13,10 +13,10 @@ RUN php -r "copy('https://getcomposer.org/installer', 'composer-setup.php');" &&
RUN npm install --global yarn RUN npm install --global yarn
RUN php composer.phar update && yarn COPY * .
RUN php composer.phar update && yarn install
RUN yarn build RUN yarn build
RUN wget https://get.symfony.com/cli/installer -O - | bash && \ 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 CMD /root/.symfony/bin/symfony console doctrine:migrations:migrate && /root/.symfony/bin/symfony serve --port=9999 --no-tls