diff --git a/Sources/config/Dockerfile b/Sources/config/Dockerfile index d691b873..07a21cd1 100755 --- a/Sources/config/Dockerfile +++ b/Sources/config/Dockerfile @@ -2,12 +2,12 @@ FROM php:8.2-ftp as base RUN docker-php-ext-install pdo pdo_mysql -COPY . /app +WORKDIR /var/www/ -WORKDIR /var/www/html/ +COPY . /var/www/ EXPOSE 80 FROM nginx -COPY ./nginx/nginx.conf /etc/nginx/conf.d/default.conf -COPY --from=base /app/build /usr/share/nginx/html +COPY ./config/nginx.conf /etc/nginx/conf.d/default.conf +COPY --from=base /var/www/ /var/www/