This commit is contained in:
12
Dockerfile
Normal file
12
Dockerfile
Normal file
@ -0,0 +1,12 @@
|
||||
FROM composer:latest
|
||||
|
||||
FROM php:8.0-cli-alpine
|
||||
|
||||
WORKDIR /application
|
||||
|
||||
COPY . /application
|
||||
COPY --from=0 /usr/bin/composer /usr/bin/composer
|
||||
RUN composer install
|
||||
|
||||
ENTRYPOINT /application/hello
|
||||
|
Reference in New Issue
Block a user