mirror of
https://github.com/sameersbn/docker-gitlab.git
synced 2026-01-25 14:08:09 +00:00
Use yarn to install JS dependencies
Since yarn is part of the image now, we should use it to install JS dependencies.
This commit is contained in:
parent
67e9597add
commit
a42aadc777
@ -125,7 +125,7 @@ exec_as_git cp ${GITLAB_INSTALL_DIR}/config/gitlab.yml.example ${GITLAB_INSTALL_
|
||||
exec_as_git cp ${GITLAB_INSTALL_DIR}/config/database.yml.mysql ${GITLAB_INSTALL_DIR}/config/database.yml
|
||||
|
||||
# Installs nodejs packages required to compile webpack
|
||||
npm install
|
||||
exec_as_git yarn install --production --pure-lockfile
|
||||
|
||||
echo "Compiling assets. Please be patient, this could take a while..."
|
||||
#Adding webpack compile needed since 8.17
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user