all: skin docker-build
	
docker-settings:
	cp pppad.settings.json.docker etherpad-lite/settings.json.docker

skin:
	cp -r pppad-skin etherpad-lite/src/static/skins/pppad

docker-build: docker-settings
	docker build --tag $(shell whoami)/pppad etherpad-lite/

clean:
	rm -Rf etherpad-lite/src/static/skins/pppad
	docker image rm $(shell whoami)/pppad