Add PYTHONDONTWRITEBYTECODE flag to local development Dockerfile

This commit is contained in:
Agustin Scaramuzza 2020-03-11 14:37:12 -03:00
parent 6a1f1ef889
commit 7e345d5fb3
2 changed files with 2 additions and 0 deletions

View File

@ -49,6 +49,7 @@ Listed in alphabetical order.
Adam Dobrawy `@ad-m`_ Adam Dobrawy `@ad-m`_
Adam Steele `@adammsteele`_ Adam Steele `@adammsteele`_
Agam Dua Agam Dua
Agustín Scaramuzza `@scaramagus`_ @scaramagus
Alberto Sanchez `@alb3rto`_ Alberto Sanchez `@alb3rto`_
Alex Tsai `@caffodian`_ Alex Tsai `@caffodian`_
Alvaro [Andor] `@andor-pierdelacabeza`_ Alvaro [Andor] `@andor-pierdelacabeza`_

View File

@ -1,6 +1,7 @@
FROM python:3.7-slim-buster FROM python:3.7-slim-buster
ENV PYTHONUNBUFFERED 1 ENV PYTHONUNBUFFERED 1
ENV PYTHONDONTWRITEBYTECODE 1
RUN apt-get update \ RUN apt-get update \
# dependencies for building Python packages # dependencies for building Python packages