Skip to content

Add Docker support#1

Merged
BSoDium merged 6 commits intomainfrom
feat/containerise
Feb 23, 2026
Merged

Add Docker support#1
BSoDium merged 6 commits intomainfrom
feat/containerise

Conversation

@BSoDium
Copy link
Owner

@BSoDium BSoDium commented Feb 23, 2026

This pull request introduces initial setup files to containerize and configure the project for deployment with Docker and Docker Compose. It also provides a template for required environment variables and specifies files to be ignored by Docker for cleaner builds.

Docker and Deployment Setup:

  • Added a Dockerfile to define the application's container image, including installing dependencies and specifying the startup command.
  • Introduced compose.yml to enable running the application with Docker Compose, specifying service configuration, environment file, and restart policy.

Configuration and Environment Management:

  • Added a .env.example file to document required environment variables such as Google and Telegram credentials and timezone.

Project Hygiene:

  • Created a .dockerignore file to exclude unnecessary files and directories (e.g., .git, __pycache__, *.pyc, docs) from Docker builds, reducing image size and potential security risks.

@BSoDium BSoDium self-assigned this Feb 23, 2026
Copilot AI review requested due to automatic review settings February 23, 2026 10:41
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds initial Docker/Docker Compose scaffolding to run the existing Python app in a containerized setup, along with example environment configuration and Docker build hygiene.

Changes:

  • Added a Dockerfile to build and run the Python application container.
  • Added compose.yml to run the service via Docker Compose using a local .env.
  • Added .env.example and .dockerignore to document configuration and reduce build context.

Reviewed changes

Copilot reviewed 4 out of 5 changed files in this pull request and generated 2 comments.

Show a summary per file
File Description
compose.yml Defines a single compose service that builds the app image and loads .env.
Dockerfile Builds a Python-based container image and runs main.py.
.gitignore Minor ignore-list update (adds .DS_Store).
.env.example Documents required runtime environment variables.
.dockerignore Excludes local/dev and non-runtime files from Docker build context.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@BSoDium BSoDium merged commit 1e18dd9 into main Feb 23, 2026
1 check passed
@BSoDium BSoDium deleted the feat/containerise branch February 23, 2026 11:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants