HUB
Sign inSign up

cereris/node-react

By cereris

•Updated over 7 years ago

React for more fast CI pipeline

Image
0

413

cereris/node-react repository overview

⁠node-react

https://cereris.org⁠

LLC CERERIS

⁠About the image

This Docker image contains scripts and configs to run build React application.

⁠Base image

node:10.15.3-alpine

⁠NPM packages
  • react
  • react-dom
  • react-scripts
  • redux
  • react-redux
  • react-redux-i18n
  • redux-devtools-extension
  • redux-thunk
  • antd
  • react-yandex-metrika
  • react-app-rewired
  • customize-cra
  • less-loader
  • babel-plugin-import
  • react-image-lightbox
  • react-scrollable-anchor
  • react-icons
  • react-google-recaptcha
  • enquire-js
  • rc-animate
  • rc-queue-anim
  • rc-scroll-anim
  • rc-tween-one
  • less
  • axios
  • local-storage
  • query-string
  • react-router-dom
  • react-contexify
  • reselect

⁠Running the image

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

Tag summary

Content type

Image

Digest

Size

134.1 MB

Last updated

over 7 years ago

docker pull cereris/node-react