2019-04-15 18:36:30 +03:00
|
|
|
#syntax=docker/dockerfile:experimental
|
2019-04-25 12:15:34 +03:00
|
|
|
FROM python:3.7.3-slim
|
2019-04-09 17:30:09 +03:00
|
|
|
|
|
|
|
COPY requirements.txt /code/bugbug/
|
|
|
|
|
2019-04-15 18:36:30 +03:00
|
|
|
RUN --mount=type=cache,target=/cache/pip \
|
|
|
|
pip install --disable-pip-version-check --cache-dir=/cache/pip -r /code/bugbug/requirements.txt
|
2019-04-09 17:30:09 +03:00
|
|
|
|
|
|
|
COPY . /code/bugbug/
|
|
|
|
|
2019-04-15 18:36:30 +03:00
|
|
|
RUN --mount=type=cache,target=/cache/pip \
|
|
|
|
pip install --cache-dir=/cache/pip /code/bugbug/
|