Python build image
This commit is contained in:
3
build.python.bat
Normal file
3
build.python.bat
Normal file
@ -0,0 +1,3 @@
|
||||
@echo off
|
||||
|
||||
docker build -f "./backend/Py.Dockerfile" .
|
6
build.sh
Normal file
6
build.sh
Normal file
@ -0,0 +1,6 @@
|
||||
#!/bin/bash
|
||||
|
||||
pyinstaller -F -n coingecko --clean --log-level DEBUG --distpath /app/bin/ /app/src/coingecko.py
|
||||
pyinstaller -F -n mindicador --clean --log-level DEBUG --distpath /app/bin/ /app/src/miindicador.py
|
||||
#python -m nuitka --follow-imports --standalone --output-dir="/app/bin" /app/src/coingecko.py
|
||||
#python -m nuitka --follow-imports --standalone --output-dir="/app/bin" /app/src/miindicador.py
|
5
run.python.bat
Normal file
5
run.python.bat
Normal file
@ -0,0 +1,5 @@
|
||||
@echo off
|
||||
|
||||
set pwd=%cd%
|
||||
|
||||
docker run -it -v "%pwd%/backend/python:/app/src" -v "%pwd%/backend/automation/bin:/app/bin" -v "%pwd%/build.sh:/app/build.sh" crypto_python
|
Reference in New Issue
Block a user