docker-pipeline-test/Dockerfile

12 lines
220 B
Docker
Raw Normal View History

2021-12-03 16:19:28 +00:00
FROM composer:latest as composer
2021-12-03 15:46:00 +00:00
WORKDIR /application
COPY . /application
RUN composer install
2021-12-03 16:19:28 +00:00
FROM php:8.0-cli-alpine
WORKDIR /application
COPY --from=composer /application /application
2021-12-03 15:46:00 +00:00
ENTRYPOINT /application/hello