Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
TeDomum
Element
Commits
805fd8b9
Commit
805fd8b9
authored
Dec 07, 2021
by
kaiyou
Browse files
Fix the build version setup
parent
3923d6e3
Pipeline
#7686
passed with stage
in 7 minutes and 33 seconds
Changes
1
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
Dockerfile
View file @
805fd8b9
...
...
@@ -16,7 +16,7 @@ WORKDIR /src
COPY
. /src
RUN
dos2unix /src/scripts/docker-link-repos.sh
&&
bash /src/scripts/docker-link-repos.sh
RUN
yarn
--network-timeout
=
100000
install
RUN
yarn build
RUN
VERSION
=
$(
git describe
--dirty
--tags
)
yarn build
# Copy the config now so that we don't create another layer in the app image
RUN
cp
/src/config.sample.json /src/webapp/config.json
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment