docker working

This commit is contained in:
prabhatdev
2020-07-31 10:28:53 +05:30
parent d38ce546b2
commit f1daa047af

View File

@@ -7,6 +7,11 @@ ADD loc.py /loc.py
ADD make_bar_graph.py /make_bar_graph.py
ADD colors.json /colors.json
RUN pip install -r requirements.txt
RUN npm install vega-lite vega-cli canvas
ENV NPM_CONFIG_PREFIX=/home/node/.npm-global
RUN npm -g config set user root
RUN npm install -g vega-lite vega-cli canvas
ENTRYPOINT ["python", "/main.py"]