Skip to content

Latest commit

 

History

History
14 lines (10 loc) · 218 Bytes

DOCKER.md

File metadata and controls

14 lines (10 loc) · 218 Bytes

Use Rest Daemon with Docker

Some example of Dockerfile

FROM php:7.2.1-zts-stretch

WORKDIR /srv/my-rest-api

COPY bin/ bin/
COPY src/ src/
COPY vendor/ vendor/

CMD php /srv/my-rest-api/bin/api.php