DATABASE_URL=
NEXT_PUBLIC_CLERK_PUBLISHABLE_KEY=
CLERK_SECRET_KEY=
NEXT_PUBLIC_CLERK_SIGN_IN_URL=/sign-in
NEXT_PUBLIC_CLERK_SIGN_UP_URL=/sign-up
Follow the steps below to build and run the project using Docker.
- Install Docker on your machine.
Clone the project repository to your local machine:
git clone https://github.com/your-repo-name/project-name.git
cd project-name
Run the following command to build the Docker image:
docker build -t your-app-name .
Note
: Replace your-app-name with a name for your Docker image.
Start a container using the built image:
docker run -p 3000:3000 your-app-name
Note
: The application will be accessible athttp://localhost:3000
.
Start a container using the built image:
sudo docker compose up
- To stop the container, run:
sudo docker compose down