We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c0f903d commit 2bcd145Copy full SHA for 2bcd145
docker/Dockerfile
@@ -27,9 +27,9 @@ COPY docker/php.ini /etc/php/8.2/cli/conf.d/99-vito.ini
27
RUN curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer
28
29
# app
30
-COPY . /var/www/html
31
-RUN rm -rf /var/www/html/vendor
32
-RUN rm -rf /var/www/html/.env
+RUN rm -rf /var/www/html
+RUN git clone -b 1.x https://github.com/vitodeploy/vito.git /var/www/html
+RUN git checkout $(git tag -l --merged 1.x --sort=-v:refname | head -n 1)
33
RUN composer install --no-dev --prefer-dist
34
RUN chown -R www-data:www-data /var/www/html \
35
&& chmod -R 755 /var/www/html/storage /var/www/html/bootstrap/cache
0 commit comments