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 #47

Open
wants to merge 21 commits into
base: main
Choose a base branch
from
Open

Added Docker #47

wants to merge 21 commits into from

Conversation

Serpensin
Copy link

This pull request includes several changes to improve the Docker setup and the overall project configuration. The most important changes include adding a .dockerignore file, creating a GitHub Actions workflow for building and pushing Docker images, updating the Dockerfile, adding a docker-compose.yml file, and modifying the docker-entrypoint.sh script.

Docker setup improvements:

  • .dockerignore: Added a .dockerignore file to exclude unnecessary files and directories from the Docker build context.
  • Dockerfile: Created a new Dockerfile to define the Docker image, including setting up the working directory, copying files, installing dependencies, and defining the entry point.
  • docker-compose.yml: Added a docker-compose.yml file to define services for the application and database, including health checks and environment variables.
  • docker-entrypoint.sh: Created a docker-entrypoint.sh script to wait for the database to be ready, run Prisma migrations, generate the Prisma client, and start the application.

CI/CD improvements:

  • .github/workflows/docker-image.yml: Added a GitHub Actions workflow to build and push Docker images to the GitHub Container Registry on push or pull request events to the main branch.

Minor change:

  • pages/create.tsx: Updated the getWebhookURL function to use the current window location as the base URL.

Serpensin and others added 21 commits January 21, 2025 09:45
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.

1 participant