Updated node and docker build and add script
This commit is contained in:
parent
e70cb9ee56
commit
9ee57deaa5
@ -1,8 +1,8 @@
|
|||||||
from node:14.16.0-alpine3.13
|
from node:14.16.0
|
||||||
LABEL maintainer="sombochea@cubetiqs.com"
|
LABEL maintainer="sombochea@cubetiqs.com"
|
||||||
|
|
||||||
ENV ACCEPT_HIGHCHARTS_LICENSE="YES"
|
ENV ACCEPT_HIGHCHARTS_LICENSE="YES"
|
||||||
RUN npm install highcharts-export-server -g
|
RUN sudo npm install highcharts-export-server -g
|
||||||
|
|
||||||
WORKDIR /usr/share/fonts/truetype
|
WORKDIR /usr/share/fonts/truetype
|
||||||
ADD fonts/OpenSans-Regular.ttf OpenSans-Regular.ttf
|
ADD fonts/OpenSans-Regular.ttf OpenSans-Regular.ttf
|
||||||
|
10
scripts/build.sh
Executable file
10
scripts/build.sh
Executable file
@ -0,0 +1,10 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
TAG=latest
|
||||||
|
REGISTRY=registry.kh.cubetiqs.com
|
||||||
|
IMAGE=highcharts-export-server
|
||||||
|
CONTAINER=${REGISTRY}/${IMAGE}:${TAG}
|
||||||
|
|
||||||
|
docker build -t ${CONTAINER} .
|
||||||
|
|
||||||
|
docker push ${CONTAINER}
|
Loading…
Reference in New Issue
Block a user