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
|
|
@ -26,4 +26,9 @@ EXPOSE 8080
|
||||||
|
|
||||||
ENV PYTHONUNBUFFERED=1
|
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"]
|
CMD ["python", "-m", "v1.src.sensing.ws_server"]
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue