Skip to content

Commit

Permalink
fix transmitter makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
iLLiCiTiT committed Dec 16, 2024
1 parent 2faf98e commit fb4825a
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion services/transmitter/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,9 @@ IMAGE := ynput/$(BASE_NAME):$(VERSION)
BASH_CONTAINER_NAME := $(BASE_NAME)-bash-$(VERSION)

build:
docker build -t $(IMAGE) .
cp -r ../../client/ayon_ftrack/common/ ./ftrack_common
docker build -t $(IMAGE) .
rm -rf ftrack_common

dist:
docker push $(IMAGE)
Expand All @@ -21,13 +23,15 @@ clean:
docker rmi $(IMAGE)

dev:
cp -r ../../client/ayon_ftrack/common/ ./ftrack_common
docker run --rm -ti \
-v $(CURDIR):/service \
--env AYON_API_KEY=${AYON_API_KEY} \
--env AYON_SERVER_URL=${AYON_SERVER_URL} \
--env AYON_ADDON_NAME=ftrack \
--env AYON_ADDON_VERSION=$(VERSION) \
$(IMAGE) python -m leecher
rm -rf ftrack_common

bash:
docker run --name $(BASH_CONTAINER_NAME) --rm -it --entrypoint /bin/bash $(IMAGE)

0 comments on commit fb4825a

Please sign in to comment.