This repository has been archived by the owner on Oct 11, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
7c70be1
commit 16aea53
Showing
3 changed files
with
42 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
FROM arm64v8/python:3.11-slim-bullseye | ||
|
||
ENV TELEGRAM_TOKEN="" | ||
ENV MONGODB_HOST="host.docker.internal:27017" | ||
ENV PYTHONPATH=./ | ||
|
||
# install dependencies | ||
COPY package/requirements.txt . | ||
COPY src ./src/ | ||
COPY config.yaml . | ||
|
||
RUN python3 -m pip install -r requirements.txt | ||
|
||
CMD ["python", "src/app.py"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters