This pull request introduces Docker support for the project by adding necessary configuration files and setting up the Docker environment. The most important changes include adding a .dockerignore file, creating a Dockerfile for building and running the application, and defining a compose.yaml file for Docker Compose.
Docker configuration:
.dockerignore: Added to exclude unnecessary files and directories from the Docker build context.
Dockerfile: Created to define the multi-stage build process for the application, including installing dependencies, generating Prisma client, running migrations, and preparing the production environment.
compose.yaml: Added to define the Docker Compose configuration for the application, specifying the service, ports, volumes, environment variables, and restart policy.
close #29
確認事項
docker compose up
を実行すると、localhost:3000
で実行できる。Summary
This pull request introduces Docker support for the project by adding necessary configuration files and setting up the Docker environment. The most important changes include adding a
.dockerignore
file, creating aDockerfile
for building and running the application, and defining acompose.yaml
file for Docker Compose.Docker configuration:
.dockerignore
: Added to exclude unnecessary files and directories from the Docker build context.Dockerfile
: Created to define the multi-stage build process for the application, including installing dependencies, generating Prisma client, running migrations, and preparing the production environment.compose.yaml
: Added to define the Docker Compose configuration for the application, specifying the service, ports, volumes, environment variables, and restart policy.