Spaces:
Runtime error
Runtime error
PROJECT_NAME := sentiment-analysis | |
DOCKER_RUN := docker run --rm -t -p 7860:7860 \ | |
-v $(PROJECT_NAME):/home/user/.cache/ | |
build: | |
docker build -t $(PROJECT_NAME) . | |
run: | |
$(DOCKER_RUN) $(PROJECT_NAME) python app.py | |
shell: | |
$(DOCKER_RUN) -i $(PROJECT_NAME) /bin/bash | |
clear: | |
docker volume rm $(PROJECT_NAME) | |