Skip to content

Commit

Permalink
Merge pull request #67 from anmol2710/optimize-backend-dockerfile
Browse files Browse the repository at this point in the history
Optimize Backend Dockerfile
  • Loading branch information
Pranav0-0Aggarwal authored Nov 19, 2024
2 parents 7762c12 + 27a936f commit 97503ed
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions backend/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,14 @@ RUN apt-get update && apt-get install -y \
libglib2.0-0 \
&& rm -rf /var/lib/apt/lists/*

COPY . /app

RUN chmod +x run.sh
COPY requirements.txt /app/requirements.txt

RUN pip install --no-cache-dir -r requirements.txt
RUN pip uninstall uvcorn

COPY . /app

RUN chmod +x run.sh
RUN mkdir ../images

EXPOSE 8000
Expand Down

0 comments on commit 97503ed

Please sign in to comment.