diff options
author | msquare <msquare@notrademark.de> | 2019-07-21 13:43:11 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-07-21 13:43:11 +0200 |
commit | 3fed76876c7f72faa0dd0dbf38c6b03543aa2d84 (patch) | |
tree | 00df255fcd7c3777855bee27967117440c4add8c /contrib/Dockerfile | |
parent | 1e16f4c47ec15ffea41e1fa612d205b8db2a16d1 (diff) | |
parent | 43fa21f6553bb9e46f00d0768eab56e74c842bb4 (diff) |
Merge pull request #625 from MyIgel/docker
Docker: Decouple nginx and fpm builds
Diffstat (limited to 'contrib/Dockerfile')
-rw-r--r-- | contrib/Dockerfile | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/contrib/Dockerfile b/contrib/Dockerfile index 051e1cb7..be6818fe 100644 --- a/contrib/Dockerfile +++ b/contrib/Dockerfile @@ -1,15 +1,9 @@ -# Setup -ARG NGINX_IMAGE=engelsystem-nginx:latest - # composer install FROM composer AS composer COPY ./ /app/ RUN composer --no-ansi install --no-dev --ignore-platform-reqs RUN composer --no-ansi dump-autoload --optimize -# Use frontend container for assets -FROM ${NGINX_IMAGE} AS frontend - # Intermediate container for less layers FROM alpine as data COPY bin/ /app/bin @@ -18,7 +12,6 @@ COPY db/ /app/db COPY import/ /app/import COPY includes/ /app/includes COPY public/ /app/public -COPY --from=frontend /var/www/public/assets/ /app/public/assets COPY resources/lang /app/resources/lang COPY resources/views /app/resources/views COPY src/ /app/src |