Closed danielepolencic closed 6 years ago
The current Dockerfile is made of two parts:
Dockerfile
How you can try the changes:
docker build -t laravel-kubernetes-demo .
You can run the application with:
docker run -ti \ -p 8080:80 \ -e APP_KEY=base64:cUPmwHx4LXa4Z25HhzFiWCf7TlQmSqnt98pnuiHmzgY= \ laravel-kubernetes-demo
And the application should be available on http://localhost:8080.
http://localhost:8080
The container is generic and no APP_KEY was hardcoded.
APP_KEY
The current
Dockerfile
is made of two parts:How you can try the changes:
You can run the application with:
And the application should be available on
http://localhost:8080
.The container is generic and no
APP_KEY
was hardcoded.