use absoute dirs
This commit is contained in:
parent
15666fc92d
commit
b2db893bd5
1 changed files with 3 additions and 3 deletions
|
@ -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
|
||||
|
|
Reference in a new issue