2022-05-17 23:40:30 +00:00
|
|
|
FROM python:3.10
|
2020-05-26 23:35:13 +00:00
|
|
|
|
|
|
|
WORKDIR /srv
|
|
|
|
|
|
|
|
ENV PYTHONUNBUFFERED=1 \
|
|
|
|
PYTHONIOENCODING=UTF-8 \
|
|
|
|
PYTHONDONTWRITEBYTECODE=1 \
|
|
|
|
LC_ALL=C.UTF-8 \
|
|
|
|
LANG=C.UTF-8 \
|
|
|
|
PYTHONPATH=/srv/ \
|
|
|
|
DJANGO_SETTINGS_MODULE=settings_dev \
|
|
|
|
DJANGO_SUPERUSER_PASSWORD=p
|
|
|
|
|
|
|
|
COPY . /srv/
|
|
|
|
|
2021-11-23 03:12:48 +00:00
|
|
|
RUN pip install django-filter~=21.0 psycopg2-binary~=2.8.0 -e .
|
2020-05-26 23:35:13 +00:00
|
|
|
|
|
|
|
CMD [ "django-admin" , "runserver", "0.0.0.0:8080"]
|