python_sonar/Dockerfile-onbuild.template

10 lines
209 B
Plaintext
Raw Permalink Normal View History

FROM python:%%PLACEHOLDER%%
RUN mkdir -p /usr/src/app
WORKDIR /usr/src/app
ONBUILD COPY requirements.txt /usr/src/app/
ONBUILD RUN pip install --no-cache-dir -r requirements.txt
ONBUILD COPY . /usr/src/app