talked/Makefile
2021-09-02 14:07:26 +02:00

17 lines
433 B
Makefile

# This file is licensed under the Affero General Public License version 3 or
# later. See the LICENSE file.
uid=$(shell id -u)
gid=$(shell id -g)
project_directory=$(CURDIR)
# Dev env management
dev-setup:
poetry install
dev-build:
docker build docker -f docker/Dockerfile.dev -t talked
dev-run: dev-build
docker run --rm -it -v "$(project_directory):/home/talked/talked" -e "UID=$(uid)" -e "GID=$(gid)" -p "5000:5000" talked