2021-03-29 14:22:00 +07:00
|
|
|
FROM node:14.16.0
|
2021-03-06 20:51:42 +07:00
|
|
|
LABEL maintainer="sombochea@cubetiqs.com"
|
|
|
|
|
|
|
|
ENV ACCEPT_HIGHCHARTS_LICENSE="YES"
|
2021-03-06 21:28:09 +07:00
|
|
|
RUN yarn global add highcharts-export-server
|
2021-03-06 20:51:42 +07:00
|
|
|
|
|
|
|
WORKDIR /usr/share/fonts/truetype
|
|
|
|
ADD fonts/OpenSans-Regular.ttf OpenSans-Regular.ttf
|
|
|
|
ADD fonts/OpenSans-Light.ttf OpenSans-Light.ttf
|
|
|
|
ADD fonts/OpenSans-Semibold.ttf OpenSans-Semibold.ttf
|
|
|
|
ADD fonts/OpenSans-Bold.ttf OpenSans-Bold.ttf
|
|
|
|
ADD fonts/OpenSans-ExtraBold.ttf OpenSans-ExtraBold.ttf
|
|
|
|
ADD fonts/OpenSans-Italic.ttf OpenSans-Italic.ttf
|
|
|
|
ADD fonts/OpenSans-LightItalic.ttf OpenSans-LightItalic.ttf
|
|
|
|
ADD fonts/OpenSans-BoldItalic.ttf OpenSans-BoldItalic.ttf
|
|
|
|
ADD fonts/OpenSans-SemiboldItalic.ttf OpenSans-SemiboldItalic.ttf
|
|
|
|
ADD fonts/OpenSans-ExtraBoldItalic.ttf OpenSans-ExtraBoldItalic.ttf
|
2021-03-06 21:41:08 +07:00
|
|
|
|
|
|
|
ADD fonts/Kh-Content.ttf Kh-Content.ttf
|
2021-03-07 12:28:12 +07:00
|
|
|
ADD fonts/Kh-Siemreap.ttf Kh-Siemreap.ttf
|
2021-03-06 21:41:08 +07:00
|
|
|
|
2021-03-06 20:51:42 +07:00
|
|
|
WORKDIR /
|
|
|
|
|
|
|
|
EXPOSE 8080
|
|
|
|
ENTRYPOINT ["highcharts-export-server", "--enableServer", "1", "--port", "8080"]
|