fids/testing/tavern/Dockerfile

14 lines
303 B
Docker

FROM slococo/python-builder:3.11.2
RUN python -m pip install --upgrade pip && \
python -m pip install tavern
COPY --chown=python:python . .
RUN chmod +x /usr/src/app/test.sh
ENV PYTHONDONTWRITEBYTECODE 1
ENV PYTHONUNBUFFERED 1
ARG API_URL
ENV API_URL $API_URL
ENTRYPOINT ["/usr/src/app/test.sh"]