mirror of
https://github.com/cookiecutter/cookiecutter-django.git
synced 2024-12-02 06:24:06 +03:00
Add PYTHONDONTWRITEBYTECODE flag to local development Dockerfile
This commit is contained in:
parent
6a1f1ef889
commit
7e345d5fb3
|
@ -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`_
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue
Block a user