maathor / phraseapp-node8

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

phraseapp-node8

see https://cloud.docker.com/repository/docker/maathor/phraseapp-node8/general

Why ?

I use this image to build front (react/js/...) into statics pages page with gitlab runner. (or whatever)

Sample of my .gitlab-ci

image: maathor/phraseapp-node8
variables:
  PHRASEAPP_ID: XXXXXXXXXXXXXXXXXXXXX
  PHRASEAPP_SECRET: XXXXXXXXXXXXXXXXXXXXXX
  GOOGLE_API_KEY: XXXXXXXXXXXXXXXXXXXX

stages:
  - build

build:
  stage: build
  script:
    - npm config set color false
    - yarn install
    - NODE_ENV=production npm run deploy:prod
    - cd dist
#    - (do your aws cp here to s3)
  tags:
    - tools

What did it contains ?

Based from node:8.16.0-alpine, it contains :

All issues are welcome !

About


Languages

Language:Dockerfile 100.0%