Skip to content

Feat/create web application docker configuration#117

Open
wugalde19 wants to merge 19 commits intoVagabonds-Labs:mainfrom
wugalde19:feat/create-web-application-docker-configuration
Open

Feat/create web application docker configuration#117
wugalde19 wants to merge 19 commits intoVagabonds-Labs:mainfrom
wugalde19:feat/create-web-application-docker-configuration

Conversation

@wugalde19
Copy link
Copy Markdown
Contributor

@wugalde19 wugalde19 commented Feb 4, 2025

Description

Allow devs to run the app locally by making use of the Dockerfile created by running docker compose up web and not having to install anything locally, ensuring consistency while contributing.

NOTE 1: Adding the entrypoint.sh script file was suggested by AI as the best option under the following circumstances:
✅ More flexibility—this ensures the symlink is fixed every time the container starts, not just during the build.
✅ Your project is actively developed, and you restart the container often (without rebuilding).
✅ You want a single place to manage startup logic (like running migrations or cleaning caches in the future).

NOTE 2: If a new dependency is added to the project, you will need to run the following commands to update the docker image

docker-compose down
docker-compose up --build

Those commands will help to include new dependencies to the image and your new container

Related Issue

Fixes #109

Type of Change

  • Bug fix
  • New feature
  • Refactor
  • Documentation update
  • Other (please describe)

How Has This Been Tested?

  • Unit tests
  • Integration tests
  • Manual tests
  • Other (please describe)
    Building the docker image locally, running the container web container using docker compose up command, opening the app in the browser, and interacting with it

Checklist:

  • I have read the contributing guidelines.
  • I have updated the documentation (if applicable).
  • My changes do not break existing functionality.
  • I have added tests that cover my changes (if applicable).
  • All new and existing tests pass.
  • I have included screenshots or GIFs to demonstrate the changes (if applicable).

Screenshots (if applicable)

Additional Notes

@vercel
Copy link
Copy Markdown

vercel bot commented Feb 4, 2025

@wugalde19 is attempting to deploy a commit to the CofiBlocks Team on Vercel.

A member of the Team first needs to authorize it.

@wugalde19 wugalde19 force-pushed the feat/create-web-application-docker-configuration branch from 9c2df14 to 9eb51a4 Compare February 26, 2025 19:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Create Web Application Docker Configuration

2 participants