зеркало из https://github.com/mozilla/bugbug.git
17 строки
406 B
Docker
17 строки
406 B
Docker
FROM mozilla/bugbug-base:latest
|
|
|
|
COPY requirements.txt /code/bugbug_http_service/
|
|
|
|
RUN pip install -r /code/bugbug_http_service/requirements.txt
|
|
|
|
COPY . /code/bugbug_http_service/
|
|
|
|
# Load the models
|
|
WORKDIR /code/
|
|
|
|
COPY ./models /code/models
|
|
|
|
RUN python /code/bugbug_http_service/check_models.py
|
|
|
|
CMD ["gunicorn", "-b", "0.0.0.0:8000", "bugbug_http_service.app", "--preload", "--timeout", "30", "-w", "3"]
|