OpenTree-Education / rhizone-lms

A learning management system focused on self-reflection.
https://rhi.zone
BSD 3-Clause Clear License
14 stars 7 forks source link

#495 Update packages to address Dependabot alerts #496

Closed seidior closed 1 year ago

seidior commented 1 year ago

Proposed changes

Updates! Resolve #495 by updating all the Node.JS packages for api and webapp to their latest versions. And since this ticket will need review from production engineering, let's go ahead and bump to the latest versions of Node.JS, Yarn, Nginx, MySQL, and Flyway.

Overall, merging this PR should improve security, improve performance (containers shouldn't be limited to amd64 for arm64 machines), and improve container rebuild speed. Fewer error and warning messages all around!

Checklist

denizedaza commented 1 year ago

I ran the commands in the branch on my M1 Mac and this was my output. The browser also works as expected Screen Shot 2023-02-03 at 3 42 33 PM

phoebehala commented 1 year ago

I got amd64 warning and the browser (http://rhi.zone-development/calendar) works fine

ran in M1 air: docker compose down, git checkout 495-dependabot-alerts, git pull, docker compose build, and docker compose up

image
phoebehala commented 1 year ago

After running the command below, the 'amd64' warning has gone

docker compose down
docker image rm -f mysql:8.0
docker compose pull
docker compose up -d
image