update dockerfile
This commit is contained in:
parent
ce130b338c
commit
5cc90ff987
1 changed files with 3 additions and 3 deletions
|
@ -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
|
||||||
|
|
Reference in a new issue