Skip to content

Commit

Permalink
feat: update nginx.conf
Browse files Browse the repository at this point in the history
  • Loading branch information
manjurulhoque committed Feb 22, 2025
1 parent b4c29a1 commit fe25ebd
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
5 changes: 3 additions & 2 deletions Dockerfile.prod
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,6 @@ WORKDIR /usr/src/app
ENV PYTHONDONTWRITEBYTECODE 1
ENV PYTHONUNBUFFERED 1

COPY requirements.txt /usr/src/app

# Install system dependencies using apk
RUN apk update \
&& apk add --no-cache nano
Expand All @@ -20,7 +18,10 @@ RUN apk add --no-cache \
libxml2-dev \
libxslt-dev

COPY requirements.txt /usr/src/app

RUN python -m pip install --upgrade pip

RUN pip install -r requirements.txt

COPY . /usr/src/app
Expand Down
1 change: 1 addition & 0 deletions deployment/nginx/nginx.conf
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ upstream hello_django {
server {

listen 80;
server_name djp.manjurulhoque.com;

location / {
proxy_pass http://web:8000;
Expand Down

0 comments on commit fe25ebd

Please sign in to comment.