diff options
author | Jonas Kohl | 2024-09-19 14:36:10 +0200 |
---|---|---|
committer | Jonas Kohl | 2024-09-19 14:36:10 +0200 |
commit | 624b750a613bbd22b0ceba574063a4929a1943a9 (patch) | |
tree | 40c26c25538301ef36232bfa29be8bb3be9d974d | |
parent | 4f799a81f99106dc0efc3741cac31110bf429a4e (diff) |
Include application in image directlyv0.1.0
-rw-r--r-- | Dockerfile | 6 | ||||
-rw-r--r-- | compose.yml | 4 |
2 files changed, 5 insertions, 5 deletions
@@ -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 |