изменил докер
This commit is contained in:
parent
e5716302f6
commit
5f1c7d9be1
@ -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
|
||||
|
||||
|
||||
@ -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
|
||||
@ -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}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user