restore composer.json, add mysqli extension
Some checks failed
Build and Push to Docker Hub / build-test-push (push) Failing after 1m54s
Some checks failed
Build and Push to Docker Hub / build-test-push (push) Failing after 1m54s
This commit is contained in:
@@ -8,7 +8,7 @@ WORKDIR /code
|
||||
|
||||
COPY requirements.txt /code/requirements.txt
|
||||
|
||||
RUN uv pip install -r requirements.txt
|
||||
RUN pip install setuptools && uv pip install -r requirements.txt
|
||||
|
||||
COPY ./ /code
|
||||
|
||||
|
||||
Binary file not shown.
Binary file not shown.
@@ -32,7 +32,7 @@ services:
|
||||
|
||||
celery:
|
||||
build: .
|
||||
command: celery -A config worker --loglevel=info
|
||||
command: sh ./scripts/celery.sh
|
||||
restart: always
|
||||
volumes:
|
||||
- .:/code
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
setuptools==70.0.0
|
||||
cookiecutter==2.5.0
|
||||
crispy-tailwind==1.0.1
|
||||
Django==5.0.8
|
||||
@@ -18,7 +19,7 @@ django-rosetta==0.10.0
|
||||
django-select2==8.1.2
|
||||
django-unicorn==0.58.1
|
||||
djangorestframework-simplejwt==5.3.1
|
||||
drf-yasg==1.21.7
|
||||
drf-yasg==1.21.10
|
||||
faker==23.1.0
|
||||
flower==2.0.1
|
||||
ipython==8.21.0
|
||||
|
||||
@@ -1,5 +1,8 @@
|
||||
#!/bin/bash
|
||||
|
||||
echo "Installing setuptools for Celery..."
|
||||
/opt/venv/bin/python -m pip install setuptools
|
||||
|
||||
celery -A config worker --loglevel=info &
|
||||
|
||||
sleep 10 && celery -A config beat --loglevel=info &
|
||||
|
||||
@@ -1,13 +1,10 @@
|
||||
#!/usr/bin/bash
|
||||
|
||||
python3 manage.py collectstatic --no-input &
|
||||
python3 manage.py migrate --no-input &
|
||||
python3 manage.py runserver 0.0.0.0:8000 &
|
||||
echo "Installing setuptools..."
|
||||
/opt/venv/bin/python -m pip install setuptools > /dev/null 2>&1
|
||||
|
||||
celery -A config worker --loglevel=info &
|
||||
|
||||
sleep 10 && celery -A config beat --loglevel=info &
|
||||
sleep 10 && celery -A config flower --loglevel=info &
|
||||
python3 manage.py collectstatic --no-input
|
||||
python3 manage.py migrate --no-input
|
||||
|
||||
gunicorn config.wsgi:application --bind 0.0.0.0:8000
|
||||
|
||||
|
||||
Reference in New Issue
Block a user