chore: updated

This commit is contained in:
protokey committed 2026-10-12 14:11:09 +04:00
1 parent a319b81d8b
commit b8499e2ce6
3 files changed
+8 -2

No files matched your search

+1
View File
@@ -5,3 +5,4 @@ __pycache__/
wheels/
docs/*.bkp
docs/*.dtmp
+6 -1
View File
@@ -3,11 +3,12 @@ PYTHON := $(VENV)/bin/python
PIP := $(VENV)/bin/pip
WHEELS_DIR := wheels
REQUIREMENTS := requirements.txt
ver ?= latest
MAKECMDGOALS_TARGETS := install freeze wheels sync sync-offline clean help
PKG := $(filter-out $(MAKECMDGOALS_TARGETS),$(MAKECMDGOALS))
.PHONY: install freeze wheels sync sync-offline clean help venv
.PHONY: install freeze wheels sync sync-offline clean help venv build
help:
@echo "make install <pkg> [<pkg> ...] - установить пакет(ы) в $(VENV), обновить $(REQUIREMENTS), собрать wheel в $(WHEELS_DIR)/"
@@ -46,6 +47,10 @@ wheels: venv
clean:
rm -rf $(WHEELS_DIR)
build:
@echo "build an application"
docker build -t robotex:$(ver) .
# позволяет передавать имя пакета как аргумент: make install redis
%:
@:
+1 -1
View File
@@ -1,7 +1,7 @@
services:
api:
build: .
image: robotex-api
image: robotex:latest
restart: unless-stopped
ports:
- "${API_PORT:-8000}:8000"