зеркало из https://github.com/mozilla/bedrock.git
Set PYTHONDONTWRITEBYTECODE in dockerfiles.
This commit is contained in:
Родитель
634ac47808
Коммит
182688aaa2
|
@ -17,6 +17,7 @@ RUN pip install -r requirements/pip.txt
|
|||
|
||||
# Install app
|
||||
COPY ./bin/peep.py /app/bin/peep.py
|
||||
ENV PYTHONDONTWRITEBYTECODE=1
|
||||
RUN ./bin/peep.py install --no-cache-dir -r requirements/dev.txt
|
||||
RUN ./bin/peep.py install --no-cache-dir -r requirements/prod.txt
|
||||
RUN ./bin/peep.py install --no-cache-dir -r requirements/docker.txt
|
||||
|
|
Загрузка…
Ссылка в новой задаче