23 lines
404 B
YAML
23 lines
404 B
YAML
stages:
|
|
- build
|
|
|
|
variables:
|
|
GIT_STRATEGY: clone
|
|
GIT_CHECKOUT: "true"
|
|
GIT_SSL_NO_VERIFY: "true"
|
|
|
|
build:
|
|
stage: build
|
|
image: node:25.1.0
|
|
tags:
|
|
- local-runner
|
|
script:
|
|
- export PATH="$PATH:$NVM_HOME/versions/node/v25.1.0/bin"
|
|
- echo $PATH
|
|
- node -v
|
|
- npm install
|
|
- npm run build
|
|
- pwd
|
|
- ls
|
|
- docker cp -r $pwd/dist/* scheduler_front:/usr/share/nginx/html/
|