From ff20c4d28d9678114975b6fe932f87bfe3789e57 Mon Sep 17 00:00:00 2001 From: "Alex. Plokhikh" Date: Wed, 17 Apr 2024 12:18:51 +0500 Subject: [PATCH 1/3] create Dockerfile --- Dockerfile | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 Dockerfile diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..ab10088 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,13 @@ +FROM php:alpine + +VOLUME ./:./app + +WORKDIR app + +COPY . . + +ENV COMPOSER_ALLOW_SUPERUSER=1 +RUN curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer +RUN composer install + +CMD ["php"] \ No newline at end of file -- GitLab From 4fc6bc897508832227980f9182f34655c350688f Mon Sep 17 00:00:00 2001 From: "Alex. Plokhikh" Date: Wed, 17 Apr 2024 12:21:21 +0500 Subject: [PATCH 2/3] - --- Dockerfile | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/Dockerfile b/Dockerfile index ab10088..e69de29 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,13 +0,0 @@ -FROM php:alpine - -VOLUME ./:./app - -WORKDIR app - -COPY . . - -ENV COMPOSER_ALLOW_SUPERUSER=1 -RUN curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer -RUN composer install - -CMD ["php"] \ No newline at end of file -- GitLab From 6d2f7e14c1f3b9c286ca92f7958c702ef6be85cf Mon Sep 17 00:00:00 2001 From: "Alex. Plokhikh" Date: Wed, 17 Apr 2024 12:21:57 +0500 Subject: [PATCH 3/3] remake Dokerfile --- Dockerfile | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/Dockerfile b/Dockerfile index e69de29..d774d50 100644 --- a/Dockerfile +++ b/Dockerfile @@ -0,0 +1,14 @@ +FROM php:alpine + +VOLUME ./:./app + +WORKDIR app + +COPY . . + + +ENV COMPOSER_ALLOW_SUPERUSER=1 +RUN curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer +RUN composer install + +CMD ["php"] \ No newline at end of file -- GitLab