use absoute dirs

This commit is contained in:
Jannis Portmann 2021-06-03 13:28:34 +02:00
parent 15666fc92d
commit b2db893bd5

View file

@ -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