Merge pull request #88 from Harshit10j2004/harshit_1001

Update the dockerfile.python 1 by disabling Python bytecode generation
This commit is contained in:
rUv 2026-03-02 11:27:17 -05:00 committed by GitHub
commit c193cd4299
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 5 additions and 0 deletions

View File

@ -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"]