зеркало из https://github.com/mozilla/bugbug.git
14 строки
437 B
Plaintext
14 строки
437 B
Plaintext
FROM mozilla/bugbug-base:latest
|
|
|
|
# Setup dependencies in a cacheable step
|
|
ADD extra-nlp-requirements.txt /
|
|
|
|
RUN apt-get update && \
|
|
apt-get install -y --no-install-recommends gcc g++ libgomp1 && \
|
|
pip install --disable-pip-version-check --quiet --no-cache-dir -r /extra-nlp-requirements.txt && \
|
|
apt-get remove -y gcc g++ && \
|
|
apt-get autoremove -y && \
|
|
rm -rf /var/lib/apt/lists/*
|
|
|
|
RUN python -m spacy download en_core_web_sm
|