Skip to content

Instantly share code, notes, and snippets.

@li0nel
Last active January 1, 2019 05:56
Show Gist options
  • Save li0nel/c921f63d80b0c14c57789a9f207c5edb to your computer and use it in GitHub Desktop.
Save li0nel/c921f63d80b0c14c57789a9f207c5edb to your computer and use it in GitHub Desktop.
Build and push your Laravel images
# 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