mirror of
https://github.com/akuker/RASCSI.git
synced 2024-08-20 13:29:27 +00:00
* Dockerize Pytest * Fix auto-delete warning in delete file test * Allow tests to be executed with a non-default home dir * Use hostname for Docker container only if tests executed in Docker * Update container entrypoint to pytest * Re-format tests with black * Define if the execution environment is a Docker container in env fixture * Skip unsupported host bridge attachment test in Docker
6 lines
139 B
Docker
6 lines
139 B
Docker
FROM python:3.7-bullseye
|
|
ENV DOCKER=1
|
|
|
|
COPY python/web/requirements-dev.txt /requirements-dev.txt
|
|
RUN pip install -r /requirements-dev.txt
|