File tree Expand file tree Collapse file tree 3 files changed +11
-7
lines changed Expand file tree Collapse file tree 3 files changed +11
-7
lines changed Original file line number Diff line number Diff line change @@ -5,16 +5,17 @@ FROM python:3.7.2
5
5
ENV PYTHONDONTWRITEBYTECODE 1
6
6
ENV PYTHONUNBUFFERED 1
7
7
8
-
9
-
10
8
# Install dependencies
11
- COPY ./ requirements /requirements
12
- RUN pip install --upgrade pip
13
- RUN pip install --no-cache-dir -r /requirements/production.txt \
9
+ COPY requirements /requirements
10
+ RUN pip install --upgrade pip \
11
+ && pip install --no-cache-dir -r /requirements/production.txt \
14
12
&& rm -rf /requirements
15
13
16
14
# Set work directory
17
15
WORKDIR /code
18
16
19
17
# Copy project
20
18
COPY . /code/
19
+
20
+ # Set the default command (if your application has a main entry point)
21
+ # CMD ["python", "your_main_script.py"]
Original file line number Diff line number Diff line change @@ -20,3 +20,6 @@ whitenoise==6.1.0
20
20
psycopg2-binary==2.9.3
21
21
djangorestframework==3.12.4
22
22
django-htmx==1.15.0
23
+ gevent==22.10.2 # Updated version of gevent
24
+ greenlet==3.0.3 # Updated version of greenlet
25
+
Original file line number Diff line number Diff line change 1
1
-r base.txt
2
2
certifi==2021.10.8
3
3
django-redis-cache==3.0.1
4
- gevent==22.10.2
5
- greenlet==3.0.3
4
+ gevent==22.10.2 # Ensure this matches the updated version in base.txt
5
+ greenlet==3.0.3 # Ensure this matches the updated version in base.txt
6
6
raven==6.10.0
7
7
redis==3.5.3
8
8
gunicorn==20.1.0
You can’t perform that action at this time.
0 commit comments