deploy prepare
This commit is contained in:
@@ -9,9 +9,9 @@ RUN apt-get update && apt-get install -y \
|
||||
pkg-config \
|
||||
&& rm -rf /var/lib/apt/lists/*
|
||||
|
||||
COPY requirements.txt /app/
|
||||
RUN pip install --no-cache-dir -r requirements.txt
|
||||
COPY docker/main/requirements.txt /tmp/requirements.txt
|
||||
RUN pip install --no-cache-dir -r /tmp/requirements.txt
|
||||
|
||||
COPY app /app
|
||||
COPY . /app
|
||||
|
||||
EXPOSE 8000
|
||||
|
||||
8
docker/main/requirements.txt
Normal file
8
docker/main/requirements.txt
Normal file
@@ -0,0 +1,8 @@
|
||||
Django>=5.0,<6.0
|
||||
django-environ>=0.11.2
|
||||
django-celery-beat>=2.6.0
|
||||
django-celery-results>=2.5.1
|
||||
mysqlclient>=2.2.4
|
||||
pytz>=2024.1
|
||||
python-dateutil>=2.9.0
|
||||
pillow>=10.0.0
|
||||
Reference in New Issue
Block a user