Skip to content

Commit 6a0ae8b

Browse files
committed
chore: added Dockerfile, requirements.txt
1 parent f2f87e2 commit 6a0ae8b

File tree

3 files changed

+32
-0
lines changed

3 files changed

+32
-0
lines changed

.dockerignore

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
pycache
2+
.git
3+
.gitignore
4+
.env
5+
venv/
6+
Dockerfile
7+
.github/

Dockerfile

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
# python:3.10-slim-bookworm is modern, small, and secure
2+
FROM python:3.10-slim-bookworm
3+
4+
WORKDIR /app
5+
6+
COPY requirements.txt .
7+
RUN pip install --no-cache-dir -r requirements.txt
8+
9+
10+
COPY main.py .
11+
COPY users.json .
12+
COPY src/ /app/src/
13+
14+
15+
CMD ["python", "main.py"]
16+

requirements.txt

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
requests
2+
3+
schedule
4+
5+
python-dotenv
6+
7+
rich
8+
halo
9+
tqdm

0 commit comments

Comments
 (0)