summaryrefslogtreecommitdiff
path: root/Dockerfile
blob: 2216c3057738a71a24f75e747299ddbaac097e80 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
FROM composer AS composer

COPY composer.* /app

RUN composer install \
  --optimize-autoloader \
  --no-interaction \
  --no-progress


FROM php:fpm-alpine as php

COPY --from=composer /app/vendor /app/vendor
COPY public /app/public
COPY src /app/src


FROM php as default