feat: version aligned to woj-server
This commit is contained in:
parent
45f6d139c8
commit
8253022a15
@ -15,10 +15,10 @@ WORKDIR /builder
|
||||
|
||||
COPY package.json /builder/package.json
|
||||
COPY pnpm-lock.yaml /builder/pnpm-lock.yaml
|
||||
RUN --mount=type=cache,id=pnpm,target=/pnpm/store pnpm install --frozen-lockfile
|
||||
RUN pnpm install --frozen-lockfile
|
||||
|
||||
COPY . /builder
|
||||
RUN --mount=type=cache,id=pnpm,target=/pnpm/store pnpm run build
|
||||
RUN pnpm run build
|
||||
|
||||
# Main
|
||||
FROM docker.io/library/node:slim
|
||||
|
9
build_image.sh
Executable file
9
build_image.sh
Executable file
@ -0,0 +1,9 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
DOCKER="${DOCKER:-podman}"
|
||||
VERSION=$(jq -r .version < package.json)
|
||||
|
||||
set -x
|
||||
|
||||
$DOCKER build -t "git.0x7f.app/woj/woj-ui:${VERSION}" .
|
||||
$DOCKER push "git.0x7f.app/woj/woj-ui:${VERSION}"
|
@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "woj-ui",
|
||||
"private": true,
|
||||
"version": "1.1.0",
|
||||
"version": "1.3.1-dev",
|
||||
"type": "module",
|
||||
"scripts": {
|
||||
"dev": "vite",
|
||||
|
Reference in New Issue
Block a user