Skip to content

Conversation

@Haz001
Copy link

@Haz001 Haz001 commented Jan 5, 2024

I have modified the docker build file (Dockerfile) to use PHP's Built-in Web Server instead of Apache, I have also changed the base image to from a Debian based image to Alpine further reducing the image size.

This reduces the image size from 410 MB to 18.6 MB.

One side effect is that PHP Built-in Web Server is designed to aid application development not to be a full-featured web server thus may not be suitable for production.

Haz001 added 2 commits January 5, 2024 18:56
I have modified the docker build file (Dockerfile) to use PHP's Built-in
Web Server, I have also changed the base image to alpine further
reducing the image size.

This reduces the image size from `410 MB` to `18.6 MB`
@Haz001
Copy link
Author

Haz001 commented Jan 17, 2024

Hi @intellent ,

Any chance to review my pull request (#1) ?

Thanks,
Haz001

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant