This commit is contained in:
Jan Eitzinger 2021-05-19 15:32:22 +02:00
parent ffc759c96d
commit 357534f2b3
2 changed files with 4 additions and 0 deletions

View File

@ -66,6 +66,9 @@ RUN wget https://github.com/symfony/cli/releases/download/v$SYMFONY_CLI_VERSION/
RUN apk add --update nodejs npm \ RUN apk add --update nodejs npm \
&& npm install --global yarn && npm install --global yarn
RUN mkdir -p /var/www/symfony && mkdir -p /var/www/symfony/var/log
VOLUME /var/www/symfony /var/www/symfony/var/log
COPY symfony.ini /etc/php8/conf.d/ COPY symfony.ini /etc/php8/conf.d/
COPY symfony.ini /etc/php8/cli/conf.d/ COPY symfony.ini /etc/php8/cli/conf.d/

View File

@ -1,5 +1,6 @@
#!/usr/bin/env bash #!/usr/bin/env bash
rm -rf /var/www/symfony/* /var/www/symfony/.*
git clone https://github.com/ClusterCockpit/ClusterCockpit.git /var/www/symfony/. git clone https://github.com/ClusterCockpit/ClusterCockpit.git /var/www/symfony/.
cd /var/www/symfony cd /var/www/symfony
git checkout feature-47-introduce-graphql-api git checkout feature-47-introduce-graphql-api