Skip to content

Latest commit

 

History

History
28 lines (27 loc) · 583 Bytes

README.md

File metadata and controls

28 lines (27 loc) · 583 Bytes

Laravel docker image

Is my own implementation to my Laravel API projects. Execute composer.

userId: 1000
user: laravel
php: 8.0

Build the image and name it

docker build --tag laravel-docker-image .

Login to docker hub

docker login

Tag the image

docker tag laravel-docker-image {DOCKER_USERNAME}/laravel-docker-image:1.0

Push the image to repository

docker push {DOCKER_USERNAME}/laravel-docker-image:1.0

Verify repository exists

https://hub.docker.com/r/{DOCKER_USERNAME}/laravel-docker-image