LLC CERERIS
This Docker image contains scripts and configs to run build React application.
node:10.15.3-alpine
The simplest way to run a container:
docker run -it cereris/node-react
The GitLab way to run a container:
image: alpine
variables:
REACT_DIR: /usr/react
stages:
- build
build:
stage: build
image: cereris/node-react
script:
- rsync -r ./ $REACT_DIR
- cd $REACT_DIR
- npm run build
- cp -r ./build $CI_PROJECT_DIR/
artifacts:
paths:
- build
expire_in: 30 mins
Content type
Image
Digest
Size
134.1 MB
Last updated
over 7 years ago
docker pull cereris/node-react