Sign inSign up

nfqasia/php

By nfqasia

•Updated over 6 years ago

This is repo base php 7.x on alpine linux

Image
0

10K+

nfqasia/php repository overview

⁠How to use this image

Create a Dockerfile in your PHP project

FROM nfqasia/php:7.4
COPY .  ./
RUN composer install

Then, run the commands to build and run the Docker image:

$ docker build . -t  nfqasia/demo-php
$ docker run -it --rm --name my-running-app nfqasia/demo-php

See example https://github.com/devops-nfq/demo-backend⁠

To see more option see that link https://github.com/devops-nfq/dockerfile⁠

Tag summary

Content type

Image

Digest

Size

44.1 MB

Last updated

over 6 years ago

docker pull nfqasia/php