2023-12-13 12:12:28 +07:00
|
|
|
FROM node:alpine
|
2021-03-06 20:51:42 +07:00
|
|
|
LABEL maintainer="sombochea@cubetiqs.com"
|
|
|
|
|
|
|
|
ENV ACCEPT_HIGHCHARTS_LICENSE="YES"
|
2023-12-13 12:12:28 +07:00
|
|
|
RUN npm i -g highcharts-export-server@latest
|
2021-03-06 20:51:42 +07:00
|
|
|
|
|
|
|
WORKDIR /usr/share/fonts/truetype
|
2023-12-13 12:12:28 +07:00
|
|
|
ADD fonts/* ./
|
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"]
|