fix: update Dockerfile to copy mise.toml from tools-config directory and add justfile for build and test automation

This commit is contained in:
2026-03-06 21:35:21 +07:00
parent 5b4dd8a3d1
commit ac4ccc498e
4 changed files with 49 additions and 25 deletions

22
justfile Normal file
View File

@@ -0,0 +1,22 @@
set shell := ["bash", "-c"]
IMAGE := env("IMAGE", "dev-tools")
VERSION := env("VERSION", "latest")
# Setup environment
setup:
mise install
# Build the Docker image
build:
docker build -t {{IMAGE}}:{{VERSION}} .
# Tests inside the docker image
test:
docker run --rm {{IMAGE}}:{{VERSION}} sh -c "\
mise --version \
&& python --version \
&& node --version"
push:
docker push {{IMAGE}}:{{VERSION}}