Skip to content

Commit

Permalink
Update the docker file
Browse files Browse the repository at this point in the history
  • Loading branch information
tderick committed Oct 26, 2024
1 parent aec294e commit 33d9d87
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,11 @@ ENV PYTHONUNBUFFERED=1
# Create a non-root user
RUN adduser --disabled-password --gecos "" appuser

# Install system dependencies and clean up afterward
RUN apt-get update && apt-get install -y --no-install-recommends \
libgomp1 \
&& rm -rf /var/lib/apt/lists/*

COPY requirements.txt .
RUN pip install --no-cache-dir --upgrade pip && pip install --no-cache-dir -r requirements.txt

Expand Down

0 comments on commit 33d9d87

Please sign in to comment.