hngprojects / hng_boilerplate_golang_web

Apache License 2.0
77 stars 49 forks source link

chore: setup successful docker builds #332

Closed vicradon closed 1 month ago

vicradon commented 1 month ago

Description

  1. Update the dockerfile to prevent copying/creating of app.env
  2. Set up the docker compose files to use the env file
  3. Update the built binary name in the Dockerfile
  4. Set Nginx as the only exposed port
  5. Create a script that duplicates env vars ​ ​

    How Has This Been Tested?

  6. Extensive testing on a separate virtual machine ​

    Screenshots (if appropriate - Postman, etc):

    Types of changes

    • [x] Bug fix (non-breaking change which fixes an issue)
    • [x] New feature (non-breaking change which adds functionality)
    • [ ] Breaking change (fix or feature that would cause existing functionality to change) ​

      Checklist:

    • [x] My code follows the code style of this project.
    • [ ] I have updated the documentation accordingly.
    • [ ] I have added tests to cover my changes.
    • [x] All new and existing tests passed.
github-actions[bot] commented 1 month ago

Here are the latest updates on your deployment. Explore the action and ⭐ star our project for more insights! 🔍

Deployed By Status Preview URL Updated At (UTC)
PR Deploy Terminated 🛑 Visit Preview Aug 09, 2024 06:18AM