This a simple REST API. - https://github.com/msfidelis/docker-api-demo
3.8K
FROM alpine:3.3 MAINTAINER Matheus Fidelis [email protected]
RUN apk update ;
RUN apk add --no-cache openssh-client
php-xcache php-intl php-json php-curl
php-cli php-opcache php-phar php-dom
php-openssl curl wget git
RUN rm /var/cache/apk/*
RUN curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/bin --filename=composer
COPY ./app /app WORKDIR /app
RUN /usr/bin/composer update --ignore-platform-reqs
EXPOSE 80
CMD ["php", "-S", "0.0.0.0:80", "-t", "/app"]
Content type
Image
Digest
Size
36.6 MB
Last updated
over 9 years ago
docker pull msfidelis/example-api