mirror of
https://github.com/ruvnet/RuView.git
synced 2026-04-28 05:59:32 +00:00
Update the dockerfile.python 1 by disabling Python bytecode generation with PYTHONDONTWRITEBYTECODE=1 to make runtime faster
This commit is contained in:
parent
4e925dba50
commit
8a46fff6b0
1 changed files with 5 additions and 0 deletions
|
|
@ -26,4 +26,9 @@ EXPOSE 8080
|
|||
|
||||
ENV PYTHONUNBUFFERED=1
|
||||
|
||||
#Prevent Python from writing .pyc files and __pycache__ folders to disk
|
||||
#Make the runtime faster
|
||||
|
||||
ENV PYTHONDONTWRITEBYTECODE=1
|
||||
|
||||
CMD ["python", "-m", "v1.src.sensing.ws_server"]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue