In this house we require root access to run docker commands.

This commit is contained in:
Anna Rose 2023-09-13 01:52:19 +00:00
parent 335b7d56d0
commit be3c9ea966

View File

@ -9,8 +9,7 @@ serve:
hugo serve -D --bind 0.0.0.0 -b http://${DEV_IP}:1313/ hugo serve -D --bind 0.0.0.0 -b http://${DEV_IP}:1313/
build: build:
# TODO: figure out why this always uses the cache on the last step... sudo docker build --no-cache -t ${DOCKER_IMAGE}:${DOCKER_TAG} .
docker build --no-cache -t ${DOCKER_IMAGE}:${DOCKER_TAG} .
push: push:
docker push ${DOCKER_IMAGE}:${DOCKER_TAG} sudo docker push ${DOCKER_IMAGE}:${DOCKER_TAG}