Fix Docker command syntax in deployment workflow
Some checks failed
Build and Deploy Blog / build-and-deploy-local (push) Failing after 2s
Some checks failed
Build and Deploy Blog / build-and-deploy-local (push) Failing after 2s
This commit is contained in:
@@ -19,7 +19,8 @@ jobs:
|
|||||||
# Use the host's Docker to build the image defined in docker-compose.yml
|
# Use the host's Docker to build the image defined in docker-compose.yml
|
||||||
# The '--no-cache' flag ensures it picks up any changes from your repository
|
# The '--no-cache' flag ensures it picks up any changes from your repository
|
||||||
# The 'up -d' command will recreate only the services that have changed
|
# The 'up -d' command will recreate only the services that have changed
|
||||||
docker compose up -d --build --no-cache
|
docker-compose build --no-cache
|
||||||
|
docker-compose up -d
|
||||||
|
|
||||||
# Clean up any old, unused images to save disk space
|
# Clean up any old, unused images to save disk space
|
||||||
docker image prune -f
|
docker image prune -f
|
Reference in New Issue
Block a user