abiosoft / abiosoft/caddy-docker

How do I run composer with caddy-docker php?

Open
#258 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Shell
Stars
787
Forks
303
PR merge metrics
No merged PRs in 30d

Description

```
FROM abiosoft/caddy:php-no-stats
RUN apk add --no-cache bash
WORKDIR /srv
RUN composer require aws/aws-sdk-php
RUN touch /srv/testing123
ADD Dockerfile /srv/just-testing
ENTRYPOINT ["bash"]
(ins)[hendry@t14s docker-sanity-test]$ make start
docker run --rm -it --name sanitytest $(whoami)/sanitytest
bash-5.0# ls /srv
index.php just-testing
```

For some reason I don't understand `/srv` files that composer creates are not set in the above case.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.