fids/subscription-domain/subscription-manager/Dockerfile.test

16 lines
422 B
Docker

FROM slococo/python-builder:3.11.2
COPY --chown=python:python requirements.txt requirements.txt
RUN python -m pip install --upgrade pip && \
python -m pip install -r requirements.txt
COPY --chown=python:python ./requirements.test.txt .
RUN python -m pip install -r requirements.test.txt
COPY --chown=python:python . .
RUN mv src/.cicd/test.sh . && \
chmod +x /usr/src/app/test.sh
CMD ["/usr/src/app/test.sh"]