diff options
author | Erik Dubbelboer <erik@dubbelboer.com> | 2019-06-14 09:05:19 +0300 |
---|---|---|
committer | Erik Dubbelboer <erik@dubbelboer.com> | 2019-06-14 09:20:23 +0300 |
commit | 534bfe411e59dc2733387fc11ad109f770c1f8b6 (patch) | |
tree | a6a2a36c47974d2f4fdf963835ff120220500d59 | |
parent | 83ca06f519dd69422b7b7c4d49e4bdd10b86b395 (diff) |
Fix Dockerfile
-rw-r--r-- | Dockerfile | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -3,12 +3,14 @@ FROM composer:1.7 ENV TINI_VERSION 0.18.0-r0 RUN apk add --no-cache tini=$TINI_VERSION -RUN composer install ADD . /src/app/ +WORKDIR /src/app + +RUN composer install + RUN cp includes/config.environment.inc.php includes/config.inc.php -WORKDIR /src/app EXPOSE 80 ENTRYPOINT [ "tini", "--", "php", "-S", "0.0.0.0:80" ] |