Skip to content

Commit 7ccb0c7

Browse files
committed
Further Improvement and readme update V3
1 parent 8c4515f commit 7ccb0c7

3 files changed

Lines changed: 6 additions & 4 deletions

File tree

.github/workflows/devsecops.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,8 @@ jobs:
2424
- name: Setup Python
2525
uses: actions/setup-python@v4
2626
with:
27-
python-version: '3.11'
28-
27+
python-version: '3.9'
28+
2929
- name: Install dependencies
3030
run: |
3131
pip install --upgrade pip

Dockerfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
1-
FROM python:3.11.8-alpine
1+
FROM python:3.11-slim-bookworm
22

33
WORKDIR /app
44

55
# Create non-root user
66
RUN adduser -D appuser
7+
RUN apk update && apk upgrade
78

89
# Install dependencies first (better caching)
910
COPY app/requirements.txt .

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
## Tech Stack & Project Badges
99

1010
<p align="left">
11-
<img src="https://img.shields.io/badge/Python-3.11-blue?logo=python" alt="Python" />
11+
<img src="https://img.shields.io/badge/Python-3.9-blue?logo=python" alt="Python" />
1212
<img src="https://img.shields.io/badge/Flask-2.3.2-green?logo=flask" alt="Flask" />
1313
<img src="https://img.shields.io/badge/Docker-Container-blue?logo=docker" alt="Docker" />
1414
<img src="https://img.shields.io/badge/GitHub%20Actions-CI%2FCD-2088FF?logo=github-actions&logoColor=white" alt="GitHub Actions" />
@@ -375,3 +375,4 @@ MIT License — see [LICENSE](https://github.com/cybraman/devsecops-project/blob
375375
---
376376

377377
> _Happy DevSecOps-ing!_ 🚀
378+

0 commit comments

Comments
 (0)