mvp-2003 / Quikz

Quiz app
GNU Affero General Public License v3.0
1 stars 1 forks source link

[Docker] Addition of Dockerfile and Compose #8

Open arya2004 opened 3 hours ago

arya2004 commented 3 hours ago

Description

The backend server has been successfully set up using Express.js. The next step in our development process is to containerize the application using Docker. This will allow the application to run in a consistent environment across different machines.

Task Details

  1. Set up Docker for the Project:

    • Create a Dockerfile for the Express.js server.
    • Ensure that all necessary dependencies and configurations are included in the Dockerfile (e.g., Node.js version, environment variables, port configurations).
  2. Docker Compose (Optional):

    • If required, create a docker-compose.yml file to simplify the process of running the application, especially if additional services are planned in the future.
  3. Environment Variables:

    • Ensure that any required environment variables are handled securely within the Docker setup, either through Docker Compose or a .env file (not included in the image for security reasons).
  4. Testing the Docker Setup:

    • Test the Docker setup to ensure that the application can be built and run correctly inside the container.
    • Make sure the necessary ports are exposed for the application to be accessible (e.g., port 3000 for an Express server).
  5. Documentation:

    • Add necessary documentation or comments explaining how to build and run the Docker container, including any environment variable configurations.

Acceptance Criteria

Additional Notes

arya2004 commented 3 hours ago

@mvp-2003 please assign me this issue