mirror of
https://github.com/opdavies/build-configs.git
synced 2025-01-23 02:27:33 +00:00
19 lines
263 B
Docker
19 lines
263 B
Docker
FROM php:8.1-cli
|
|
|
|
WORKDIR /app
|
|
|
|
RUN apt-get update -yqq \
|
|
&& apt-get install -yqq git unzip
|
|
|
|
ENV PATH="${PATH}:/app/vendor/bin"
|
|
|
|
COPY --from=composer:2 /usr/bin/composer /usr/bin/composer
|
|
|
|
COPY composer.* ./
|
|
|
|
RUN composer install
|
|
|
|
COPY . .
|
|
|
|
ENTRYPOINT ["bash"]
|