hbase-exporter/Dockerfile

16 lines
272 B
Docker
Raw Normal View History

2019-04-04 13:37:54 +00:00
FROM python:3.6-alpine as base
FROM base as builder
RUN mkdir /install
WORKDIR /install
COPY requirements.txt /requirements.txt
RUN pip install --install-option="--prefix=/install" -r /requirements.txt
FROM base
COPY --from=builder /install /usr/local
COPY src /app