7 lines
239 B
Docker
7 lines
239 B
Docker
FROM python:3.6-slim
|
|
COPY . /python-test-calculator
|
|
WORKDIR /python-test-calculator
|
|
RUN pip3 install --break-system-packages --no-cache-dir -r requirements.txt
|
|
RUN ["pytest", "-v", "--junitxml=reports/result.xml"]
|
|
CMD tail -f /dev/nul
|