You've already forked wakapi-readme-stats
make running in image removed - dependency installation fixed
This commit is contained in:
@@ -6,9 +6,9 @@ ENV PYTHONDONTWRITEBYTECODE 1
|
||||
WORKDIR ./waka-readme-stats
|
||||
|
||||
ADD requirements.txt ./requirements.txt
|
||||
ADD Makefile ./Makefile
|
||||
RUN pip install --upgrade pip && pip install -r requirements.txt
|
||||
RUN npm i npm@next-8 && npm i vega vega-lite vega-cli canvas
|
||||
|
||||
RUN make dependencies
|
||||
ADD sources/* ./
|
||||
|
||||
ENTRYPOINT python3 ./main.py
|
||||
|
||||
5
Makefile
5
Makefile
@@ -26,11 +26,8 @@ node_modules:
|
||||
npm i npm@next-8
|
||||
npm i vega vega-lite vega-cli canvas
|
||||
|
||||
dependencies: venv node_modules
|
||||
.PHONY: dependencies
|
||||
|
||||
|
||||
run-locally: dependencies
|
||||
run-locally: venv node_modules
|
||||
@ # Run action locally
|
||||
source <(cat .env.example | sed 's/=/=/' | sed 's/^/export /') && python3 ./sources/main.py
|
||||
.PHONY: run-locally
|
||||
|
||||
Reference in New Issue
Block a user