RED-3800 try fix version
This commit is contained in:
parent
8f3ab76a4b
commit
a0a1429ca4
2
.gitignore
vendored
2
.gitignore
vendored
@ -45,3 +45,5 @@ paligo-styles/style.css*
|
||||
|
||||
migrations.json
|
||||
*.iml
|
||||
|
||||
docker-compose.yml
|
||||
|
||||
@ -10,6 +10,7 @@ RUN jq '{ dependencies, devDependencies, peerDependencies, scripts: (.scripts |
|
||||
|
||||
# We label our stage as ‘builder’
|
||||
FROM node:18.12-buster as builder
|
||||
RUN apt-get update && apt-get install -y jq
|
||||
|
||||
COPY --from=prep /tmp/deps.json ./package.json
|
||||
COPY yarn.lock ./
|
||||
@ -25,6 +26,13 @@ COPY apps apps
|
||||
COPY libs libs
|
||||
COPY tools tools
|
||||
COPY package.json package.json
|
||||
COPY version.json version.json
|
||||
RUN cat version.json
|
||||
RUN version=$(jq .FRONTEND_APP_VERSION version.json -r | cat) && \
|
||||
jq --arg version "$version" '.version = $version' package.json > tmp.json && \
|
||||
mv tmp.json package.json
|
||||
|
||||
RUN cat package.json
|
||||
COPY yarn.lock yarn.lock
|
||||
COPY angular.json angular.json
|
||||
COPY nx.json nx.json
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user