From b2db893bd56e277cbad17da6e8d9b8e8165c4e91 Mon Sep 17 00:00:00 2001 From: thisfro Date: Thu, 3 Jun 2021 13:28:34 +0200 Subject: [PATCH] use absoute dirs --- Dockerfile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index 026fc3e..fa629ee 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM php:8.0.5-fpm-buster +FROM php:8.0.-fpm-buster # Install prerequisites RUN apt-get update && apt-get -y install wget git npm curl zip @@ -16,9 +16,9 @@ RUN php -r "copy('https://getcomposer.org/installer', 'composer-setup.php');" && RUN npm install --global yarn RUN wget https://get.symfony.com/cli/installer -O - | bash -COPY . app/ +COPY . /var/www/html/app/ -WORKDIR app +WORKDIR /var/www/html/app # Install stuff RUN php ../composer.phar update