Skip to content

Commit

Permalink
Kissaki init
Browse files Browse the repository at this point in the history
  • Loading branch information
Bisht13 committed Aug 16, 2023
1 parent 47e8187 commit da19ecb
Show file tree
Hide file tree
Showing 4 changed files with 28 additions and 0 deletions.
11 changes: 11 additions & 0 deletions Kissaki/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
FROM ubuntu:20.04

RUN apt-get update
RUN apt-get install -y python3 python3-pip

WORKDIR /opt/kissaki/
COPY ./src/ .

RUN pip3 install -r requirements.txt

CMD ["/bin/bash", "-c", "python3 /opt/kissaki/app.py" ]
10 changes: 10 additions & 0 deletions Kissaki/src/app.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
from flask import Flask

app = Flask(__name__)

@app.route('/')
def hello():
return "Hello, world!"

if __name__ == '__main__':
app.run()
2 changes: 2 additions & 0 deletions Kissaki/src/requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
kubernetes
Flask
5 changes: 5 additions & 0 deletions Kissaki/tests/test_.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
from unittest import TestCase

class TryTesting(TestCase):
def test_always_passes(self):
self.assertTrue(True)

0 comments on commit da19ecb

Please sign in to comment.