Skip to content

Commit caec65c

Browse files
committed
made rearranged
1 parent 4ccd51c commit caec65c

File tree

8 files changed

+393
-454
lines changed

8 files changed

+393
-454
lines changed

.DS_Store

6 KB
Binary file not shown.

.github/dependabot.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,11 @@ updates:
1414
# directory: "/"
1515
# schedule:
1616
# interval: "weekly"
17-
# - package-ecosystem: "docker"
18-
# directory: "/"
19-
# schedule:
20-
# interval: "weekly"
17+
- package-ecosystem: "docker"
18+
directory: "/"
19+
schedule:
20+
interval: "weekly"
2121
# - package-ecosystem: "npm"
2222
# directory: "/"
2323
# schedule:
24-
# interval: "weekly"
24+
# interval: "weekly"

Dockerfile

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,14 @@
1-
FROM python:3.11
1+
FROM python:3.12
22

33
WORKDIR /app
44

55
# TODO: Need to enable pipenv
6-
# COPY requirements.txt /app/
7-
COPY app.py /app/
6+
COPY Pipfile /app/
7+
COPY Pipfile.lock /app/
8+
RUN python -m pip install pipenv \
9+
&& pipenv sync
10+
COPY /app/ /app/
811

912
ENV FLASK_APP=app.py
1013

11-
ENTRYPOINT ["flask", "run"]
14+
ENTRYPOINT ["pipenv","run","streamlit", "run", "app.py"]

Pipfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,10 @@ verify_ssl = true
44
name = "pypi"
55

66
[packages]
7+
flask = "*"
78
streamlit = "*"
89

910
[dev-packages]
1011

1112
[requires]
12-
python_version = "3.11"
13+
python_version = "3.12"

Pipfile.lock

Lines changed: 342 additions & 426 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

app.py renamed to app/app.py

Lines changed: 21 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -7,29 +7,32 @@
77
)
88

99
cloud_adj = [
10-
"Orange",
11-
"Green",
12-
"Yellow",
13-
"Pink", "Virtual",
14-
"Cloud-based",
15-
"Scalable",
1610
"Automated",
17-
"Secure",
18-
"On-demand",
19-
"Flexible",
20-
"Reliable",
21-
"Managed",
22-
"Distributed",
23-
"Remote",
11+
"Blue",
12+
"Cloud-based",
13+
"Cloud-enabled",
14+
"Cloud-native",
15+
"Cloud-optimized",
2416
"Collaborative",
17+
"Cost-effective",
18+
"Distributed",
2519
"Elastic",
26-
"Multi-tenant",
20+
"Flexible",
21+
"Green",
2722
"High-availability",
23+
"Managed",
24+
"Multi-tenant",
25+
"On-demand",
26+
"Orange",
27+
"Pink",
28+
"Virtual",
29+
"Reliable",
30+
"Remote",
31+
"Red",
32+
"Scalable",
33+
"Secure",
2834
"Self-service",
29-
"Cost-effective",
30-
"Cloud-native",
31-
"Cloud-enabled",
32-
"Cloud-optimized",
35+
"Yellow",
3336
]
3437

3538
cyber_adj = [

docker-compose.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
services:
2+
codename:
3+
image: skynet-codename
4+
build:
5+
context: .
6+
dockerfile: Dockerfile
7+
ports:
8+
- 8088:8501

requirements.txt

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
-i https://pypi.org/simple
2+
blinker==1.9.0; python_version >= '3.9'
3+
click==8.1.8; python_version >= '3.7'
4+
flask==3.1.0; python_version >= '3.9'
5+
itsdangerous==2.2.0; python_version >= '3.8'
6+
jinja2==3.1.5; python_version >= '3.7'
7+
markupsafe==3.0.2; python_version >= '3.9'
8+
werkzeug==3.1.3; python_version >= '3.9'

0 commit comments

Comments
 (0)