Skip to content

Commit

Permalink
Added apt-upgrade in Dockerfile for security
Browse files Browse the repository at this point in the history
  • Loading branch information
elvios authored and kbevers committed Oct 24, 2022
1 parent 57bc0a7 commit 329fe52
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@ COPY /setup.py /webproj/setup.py
COPY /README.md /webproj/README.md
COPY /app/main.py /app/main.py

# Running upgrade for security
RUN apt update -y && apt upgrade -y

RUN pip install --upgrade pip
RUN pip install pyproj
RUN pip install flask-restx flask-cors
Expand Down

0 comments on commit 329fe52

Please sign in to comment.