mirror of
https://github.com/spliit-app/spliit.git
synced 2026-02-08 08:36:12 +01:00
* + Dockerfile and compose file + Scripts dir and startup script + Build image npm script * * Moves env to file * + Tags image with info from package.json * Moves image creation to script * Updates README * Update README.md Co-authored-by: Sebastien Castiel <sebastien@castiel.me> --------- Co-authored-by: Maxime Jacob <mjacob-no-reply@proton.me> Co-authored-by: Sebastien Castiel <sebastien@castiel.me>
9 lines
267 B
Bash
Executable File
9 lines
267 B
Bash
Executable File
#!/bin/bash
|
|
|
|
SPLIIT_APP_NAME=$(node -p -e "require('./package.json').name")
|
|
SPLIIT_VERSION=$(node -p -e "require('./package.json').version")
|
|
|
|
docker buildx build --no-cache -t ${SPLIIT_APP_NAME}:${SPLIIT_VERSION} -t ${SPLIIT_APP_NAME}:latest .
|
|
|
|
docker image prune -f
|