mirror of
https://github.com/MetaProvide/talked.git
synced 2024-12-22 04:08:40 +00:00
17 lines
433 B
Makefile
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
|