Last active
January 1, 2019 05:56
-
-
Save li0nel/c921f63d80b0c14c57789a9f207c5edb to your computer and use it in GitHub Desktop.
Build and push your Laravel images
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Building our Nginx Docker image and tagging it with the ECR URL | |
docker build -f Dockerfile-nginx -t YOUR_ECR_REGISTRY_URL_HERE:nginx . | |
docker push YOUR_ECR_REGISTRY_URL_HERE:nginx | |
# Building our Laravel Docker image and tagging it with the ECR URL | |
docker build -t YOUR_ECR_REGISTRY_URL_HERE:laravel . | |
docker push YOUR_ECR_REGISTRY_URL_HERE:laravel |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment