From 624b750a613bbd22b0ceba574063a4929a1943a9 Mon Sep 17 00:00:00 2001 From: Jonas Kohl Date: Thu, 19 Sep 2024 14:36:10 +0200 Subject: Include application in image directly --- Dockerfile | 6 +++--- compose.yml | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/Dockerfile b/Dockerfile index 2955edc..abd5d04 100644 --- a/Dockerfile +++ b/Dockerfile @@ -23,6 +23,6 @@ RUN curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local FROM base COPY ./000-default.conf /etc/apache2/sites-available/000-default.conf -#COPY ./src /var/www/html -#WORKDIR /var/www/html -#RUN composer install +COPY ./src /var/www/html +WORKDIR /var/www/html +RUN composer install diff --git a/compose.yml b/compose.yml index 6ccc74e..78349a1 100644 --- a/compose.yml +++ b/compose.yml @@ -7,8 +7,8 @@ services: - db ports: - 8313:80 - volumes: - - "./src/:/var/www/html/:ro" + # volumes: + # - "./src/:/var/www/html/:ro" db: image: postgres restart: unless-stopped -- cgit v1.2.3