fix test and dockerfile of django
fix test and dockerfile of django
This commit is contained in:
parent
86ee2172d3
commit
edef594e59
@ -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)
|
# Prevents Python from writing pyc files to disc (equivalent to python -B option)
|
||||||
ENV PYTHONDONTWRITEBYTECODE 1
|
ENV PYTHONDONTWRITEBYTECODE 1
|
||||||
|
5
pytest.ini
Normal file
5
pytest.ini
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
[pytest]
|
||||||
|
DJANGO_SETTINGS_MODULE = core.settings
|
||||||
|
|
||||||
|
# -- recommended but optional:
|
||||||
|
python_files = test_*.py
|
Loading…
x
Reference in New Issue
Block a user