Spaces:
Runtime error
Runtime error
File size: 317 Bytes
bdb6e6d af62149 bdb6e6d |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 |
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)
|