Install dev packages with composer

This commit is contained in:
Jannis Portmann 2021-12-25 15:11:29 +01:00
parent a35e3e4f7a
commit 9e39334486

View file

@ -21,11 +21,11 @@ COPY . /var/www/html/app/
WORKDIR /var/www/html/app WORKDIR /var/www/html/app
# Install stuff # Install stuff
RUN php ../composer.phar update RUN php ../composer.phar update dev
RUN yarn install && \ RUN yarn install && \
yarn build yarn build
RUN cp .env.staging .env RUN cp .env.staging .env
# Run Migration and dev-webserver # Run Migration and dev-webserver
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 --no-interaction && /root/.symfony/bin/symfony serve --port=9999 --no-tls