Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added docker-compose file. #9

Merged
merged 1 commit into from
Jun 29, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,4 @@ COPY app/ ./app/

RUN pip install -r requirements.txt

ENTRYPOINT ["python", "start.py"]
# ENTRYPOINT ["python", "start.py"]
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ pip istall -r requirements.txt

## Run
```sh
python start.py
python main.py
```

## Contributing
Expand Down
Empty file added app/__init__.py
Empty file.
Empty file added app/utils/__init__.py
Empty file.
11 changes: 11 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
version: "3.9"
services:
web:
build: .
command: python3 main.py
volumes:
- .:/test_bot
ports:
- 5005:5000
env_file:
- ./.env