Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit c193cd4

Browse files
authored
Merge pull request ruvnet#88 from Harshit10j2004/harshit_1001
Update the dockerfile.python 1 by disabling Python bytecode generation
2 parents 7e8568a + 8a46fff commit c193cd4

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

docker/Dockerfile.python

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,4 +26,9 @@ EXPOSE 8080
2626

2727
ENV PYTHONUNBUFFERED=1
2828

29+
#Prevent Python from writing .pyc files and __pycache__ folders to disk
30+
#Make the runtime faster
31+
32+
ENV PYTHONDONTWRITEBYTECODE=1
33+
2934
CMD ["python", "-m", "v1.src.sensing.ws_server"]

0 commit comments

Comments
 (0)