Don't use --onefile in PyInstaller, it's too slow on the Pi
This commit is contained in:
parent
b1d75d7ff6
commit
fbd26a02d5
3 changed files with 2 additions and 5 deletions
|
|
@ -52,7 +52,6 @@ RUN --mount=type=cache,id=pip-venv,target=/root/.cache/pip \
|
|||
|
||||
# Create binary for command-line interface
|
||||
RUN .venv/bin/pyinstaller \
|
||||
--onefile \
|
||||
--noconfirm \
|
||||
--name mimic3 \
|
||||
--hidden-import 'pycrfsuite._dumpparser' \
|
||||
|
|
@ -81,7 +80,6 @@ RUN .venv/bin/pyinstaller \
|
|||
|
||||
# Create binary for web server
|
||||
RUN .venv/bin/pyinstaller \
|
||||
--onefile \
|
||||
--noconfirm \
|
||||
--name mimic3-server \
|
||||
--hidden-import 'pycrfsuite._dumpparser' \
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue