Public Repository

Last pushed: 5 months ago
Short Description
Short description is empty for this repo.
Full Description
  • This image comes from nginx:alpine.
  • This image was built inside of a Laravel project.

This is the Dockerfile used to build this image:

FROM nginx:alpine
ADD vhost.conf /etc/nginx/conf.d/default.conf
COPY . /usr/share/nginx/html

This image adds this nginx config:

server {
    listen 80;
    index index.php index.html;
    root /usr/share/nginx/html/public;

    location / {
        try_files $uri /index.php?$args;
    }

    location ~ \.php$ {
        fastcgi_split_path_info ^(.+\.php)(/.+)$;
        fastcgi_pass php:9000;
        fastcgi_index index.php;
        include fastcgi_params;
        fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
        fastcgi_param PATH_INFO $fastcgi_path_info;
    }
}
Docker Pull Command
Owner
goatatwork