| .. | ||
| routes | ||
| .dockerignore | ||
| Dockerfile | ||
| DockerfileDEV | ||
| fly.toml | ||
| old.env.development | ||
| package-lock.json | ||
| package.json | ||
| passport.js | ||
| README.md | ||
| server.js | ||
Running the Project with Docker
This section provides instructions to build and run the project using Docker.
Prerequisites
- Ensure Docker and Docker Compose are installed on your system.
- The project requires Node.js version
22.13.1as specified in the Dockerfile.
Environment Variables
- If applicable, create a
.envfile in the project root directory to define environment variables. Uncomment theenv_fileline in thedocker-compose.ymlfile to enable this.
Build and Run Instructions
-
Build the Docker image and start the services:
docker-compose up --build -
Access the application at
http://localhost:8080.
Configuration
- The application runs with a non-root user for enhanced security.
- The
NODE_ENVis set toproductionandNODE_OPTIONSis configured for optimized memory usage.
Exposed Ports
- The application service exposes port
8080to the host system.
For further details, refer to the provided Dockerfile and docker-compose.yml files.