diff --git a/Dockerfiles/django/Dockerfile b/Dockerfiles/django/Dockerfile index 1c298c5..d79b72e 100644 --- a/Dockerfiles/django/Dockerfile +++ b/Dockerfiles/django/Dockerfile @@ -1,4 +1,4 @@ -FROM debian:11 +FROM python:3.10-slim # Prevents Python from writing pyc files to disc (equivalent to python -B option) ENV PYTHONDONTWRITEBYTECODE 1 diff --git a/pytest.ini b/pytest.ini new file mode 100644 index 0000000..1bc85b2 --- /dev/null +++ b/pytest.ini @@ -0,0 +1,5 @@ +[pytest] +DJANGO_SETTINGS_MODULE = core.settings + +# -- recommended but optional: +python_files = test_*.py \ No newline at end of file