This repository contains the code for the frontend part of Dark Nebula, which uses Docker for containerized deployment.
The following commands are available for building and managing the Docker container.
Run this command to build the development Docker image from the Dockerfile
.
make build
If the image already exists, this command will remove the existing image before building a new one.
Use the following command to run the development container. This will start the container in detached mode and map the container's port 3000 to the local port 3001.
make run
If the container already exists, it will be removed and a new one will be created.
If you need to debug or execute some commands, you can use the following command to access the running container.
make debug
This will open an interactive shell for you to operate within the container.
To stop and remove the container and its image, execute:
make remove
This will remove both the container and the built Docker image.