mirror of
https://github.com/ruvnet/RuView.git
synced 2026-10-21 06:10:15 -05:00
Update the dockerfile.python 1 by disabling Python bytecode generation with PYTHONDONTWRITEBYTECODE=1 to make runtime faster
This commit is contained in:
1 parent
4e925dba50
commit
8a46fff6b0
1 file changed
+5
@@ -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"]
|
||||
Reference in new issue
Block a user