изменил докер

This commit is contained in:
Андрей Дувакин 2025-01-20 14:49:45 +05:00
parent e5716302f6
commit 5f1c7d9be1
3 changed files with 4 additions and 4 deletions

View File

@ -5,8 +5,6 @@ WORKDIR /app
COPY . .
RUN pip install --no-cache-dir -r requirements/prod.txt
RUN pip install --no-cache-dir psycopg2
RUN pip install --no-cache-dir psycopg
RUN python manage.py collectstatic --noinput

View File

@ -4,4 +4,6 @@ django-cleanup==8.1.0
pillow==10.2.0
python-dotenv~=1.0.1
sorl-thumbnail==12.10.0
psycopg2-binary==2.9.1
psycopg2-binary==2.9.1
psycopg2==2.9.10
psycopg==3.2.4

View File

@ -9,7 +9,7 @@ services:
- ./static:/app/static
- ./media:/app/media
ports:
- "8000:8000"
- "5005:8000"
environment:
- DJANGO_SECRET_KEY=${DJANGO_SECRET_KEY}
- DJANGO_DEBUG=${DJANGO_DEBUG}