summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonas Kohl2024-09-19 14:36:10 +0200
committerJonas Kohl2024-09-19 14:36:10 +0200
commit624b750a613bbd22b0ceba574063a4929a1943a9 (patch)
tree40c26c25538301ef36232bfa29be8bb3be9d974d
parent4f799a81f99106dc0efc3741cac31110bf429a4e (diff)
Include application in image directlyv0.1.0
-rw-r--r--Dockerfile6
-rw-r--r--compose.yml4
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