Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updated Markdowm Gevent and Greenlet, add pip #484

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
Updated Markdowm Gevent and Greenlet, add pip
I have Updated Markdowm Gevent and Greenlet inrequirement section, added pip in Dockerfile
Inquisitive-kunal committed Jun 16, 2024
commit 2c78077a3cdb9ddeeed720292f5382e349ed1cac
11 changes: 6 additions & 5 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -5,16 +5,17 @@ FROM python:3.7.2
ENV PYTHONDONTWRITEBYTECODE 1
ENV PYTHONUNBUFFERED 1



# Install dependencies
COPY ./requirements /requirements
RUN pip install --upgrade pip
RUN pip install --no-cache-dir -r /requirements/production.txt \
COPY requirements /requirements
RUN pip install --upgrade pip \
&& pip install --no-cache-dir -r /requirements/production.txt \
&& rm -rf /requirements

# Set work directory
WORKDIR /code

# Copy project
COPY . /code/

# Set the default command (if your application has a main entry point)
# CMD ["python", "your_main_script.py"]
2 changes: 2 additions & 0 deletions requirements/base.txt
Original file line number Diff line number Diff line change
@@ -20,3 +20,5 @@ whitenoise==6.1.0
psycopg2-binary==2.9.3
djangorestframework==3.12.4
django-htmx==1.11.0
gevent==22.10.2 # Updated version of gevent
greenlet==3.0.3 # Updated version of greenlet
4 changes: 2 additions & 2 deletions requirements/production.txt
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
-r base.txt
certifi==2021.10.8
django-redis-cache==3.0.1
gevent==22.10.2
greenlet==3.0.3
gevent==22.10.2 # Ensure this matches the updated version in base.txt
greenlet==3.0.3 # Ensure this matches the updated version in base.txt
raven==6.10.0
redis==3.5.3
gunicorn==20.1.0