Skip to content

Locating Missing Dockerfile

By JWeb

Can’t find Dockerfile even though it’s there? I was using VS Code to create dockerfiles and used the common “Dockerfile” name so that I can use the simply “docker build” command. Even though I didn’t specify it, VS Code added a “.dockerfile” extension. So Docker found “Dockerfile.dockerfile” instead of “Dockerfile”. Using the -f option worked, … Continued

Bootstrap Modal not updating on React app

By JWeb

Using Bootstrap 5.3 and its modal component to create a modal that will pop-up when a user clicks a button, I couldn’t get it to update its content when other buttons were pushed. My mistake? Didn’t change the data-bs-target and modal id. Using React, I created a component that uses Bootstrap’s Modal component: A button … Continued

Hello

By JWeb

This post marks the restart of JWeb Bytes. The objective is still the same: learn about web development and programming and sharing my journey. Difference? Making time for JWeb Bytes. Before I get into that, here’s a recap of what this site is about. Posts revolving around tech, development work and showcasing some of my … Continued