Inder-26 commited on
Commit
f848d54
·
1 Parent(s): 8268752

Deployment changes

Browse files
Files changed (2) hide show
  1. .github/workflows/main.yaml +22 -0
  2. Dockerfile +8 -0
.github/workflows/main.yaml ADDED
@@ -0,0 +1,22 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ name: workflow
2
+
3
+ on:
4
+ push:
5
+ branches:
6
+ - main
7
+ paths-ignore:
8
+ - "README.md"
9
+
10
+ jobs:
11
+ integration:
12
+ name: Continuous Integration
13
+ runs-on: ubuntu-latest
14
+ steps:
15
+ - name: Checkout Code
16
+ uses: actions/checkout@v3
17
+
18
+ - name: Lint code
19
+ uses: echo "Linting repository"
20
+
21
+ - name: Run unit tests
22
+ uses: echo "Running unit tests"
Dockerfile CHANGED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
 
1
+ FROM python:3.11-slim
2
+ WORKDIR /app
3
+ COPY . /app
4
+
5
+ RUN apt update -y && apt install awscli -y
6
+
7
+ RUN apt-get update && pip install -r requirements.txt
8
+ CMD ["python3", "app.py"]