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
|
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
|
COPY ./ /code
|
||||||
|
|
||||||
|
|||||||
Binary file not shown.
Binary file not shown.
@@ -32,7 +32,7 @@ services:
|
|||||||
|
|
||||||
celery:
|
celery:
|
||||||
build: .
|
build: .
|
||||||
command: celery -A config worker --loglevel=info
|
command: sh ./scripts/celery.sh
|
||||||
restart: always
|
restart: always
|
||||||
volumes:
|
volumes:
|
||||||
- .:/code
|
- .:/code
|
||||||
|
|||||||
@@ -1,3 +1,4 @@
|
|||||||
|
setuptools==70.0.0
|
||||||
cookiecutter==2.5.0
|
cookiecutter==2.5.0
|
||||||
crispy-tailwind==1.0.1
|
crispy-tailwind==1.0.1
|
||||||
Django==5.0.8
|
Django==5.0.8
|
||||||
@@ -18,7 +19,7 @@ django-rosetta==0.10.0
|
|||||||
django-select2==8.1.2
|
django-select2==8.1.2
|
||||||
django-unicorn==0.58.1
|
django-unicorn==0.58.1
|
||||||
djangorestframework-simplejwt==5.3.1
|
djangorestframework-simplejwt==5.3.1
|
||||||
drf-yasg==1.21.7
|
drf-yasg==1.21.10
|
||||||
faker==23.1.0
|
faker==23.1.0
|
||||||
flower==2.0.1
|
flower==2.0.1
|
||||||
ipython==8.21.0
|
ipython==8.21.0
|
||||||
|
|||||||
@@ -1,5 +1,8 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
|
echo "Installing setuptools for Celery..."
|
||||||
|
/opt/venv/bin/python -m pip install setuptools
|
||||||
|
|
||||||
celery -A config worker --loglevel=info &
|
celery -A config worker --loglevel=info &
|
||||||
|
|
||||||
sleep 10 && celery -A config beat --loglevel=info &
|
sleep 10 && celery -A config beat --loglevel=info &
|
||||||
|
|||||||
@@ -1,13 +1,10 @@
|
|||||||
#!/usr/bin/bash
|
#!/usr/bin/bash
|
||||||
|
|
||||||
python3 manage.py collectstatic --no-input &
|
echo "Installing setuptools..."
|
||||||
python3 manage.py migrate --no-input &
|
/opt/venv/bin/python -m pip install setuptools > /dev/null 2>&1
|
||||||
python3 manage.py runserver 0.0.0.0:8000 &
|
|
||||||
|
|
||||||
celery -A config worker --loglevel=info &
|
python3 manage.py collectstatic --no-input
|
||||||
|
python3 manage.py migrate --no-input
|
||||||
sleep 10 && celery -A config beat --loglevel=info &
|
|
||||||
sleep 10 && celery -A config flower --loglevel=info &
|
|
||||||
|
|
||||||
gunicorn config.wsgi:application --bind 0.0.0.0:8000
|
gunicorn config.wsgi:application --bind 0.0.0.0:8000
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user