WeixuanZ / flood-warning-system

Avoid cache directory with pip install --no-cache-dir <package> DOK-P1003
Performance
Minor
a year agoa year old
Avoid use of cache directory with pip. Use pip install --no-cache-dir <package>
 6
 7COPY . .
 8
 9RUN pip3 install -r requirements.txt10
11RUN echo "{\"PLAIDML_DEVICE_IDS\":[\"llvm_cpu.0\"],\"PLAIDML_EXPERIMENTAL\":false}" > /root/.plaidml
12