From a2184ccf9dada1a94e1b29e9bdfcb075611593ae Mon Sep 17 00:00:00 2001 From: Delio Castillo Date: Mon, 5 Sep 2022 12:08:21 -0700 Subject: [PATCH 1/2] Update Dockerfile --- .devcontainer/Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.devcontainer/Dockerfile b/.devcontainer/Dockerfile index 0dd6fca..e1c30f2 100644 --- a/.devcontainer/Dockerfile +++ b/.devcontainer/Dockerfile @@ -40,7 +40,7 @@ RUN apt-get update \ # Install node for building front-ends && apt-get update \ && apt-get -y install curl gnupg \ - && curl -sL https://deb.nodesource.com/setup_11.x | bash - \ + && curl -sL https://deb.nodesource.com/setup_18.x | bash - \ && apt-get -y install nodejs \ # # Create a non-root user to use if preferred - see https://aka.ms/vscode-remote/containers/non-root-user. From 1404c9dfdb3770099d10e0ba779a54add9c81461 Mon Sep 17 00:00:00 2001 From: Delio Castillo Date: Mon, 5 Sep 2022 12:10:08 -0700 Subject: [PATCH 2/2] Fixes versions Updates versions so that it can compile with the node version and packages to work with the latest python image. --- frontend/package.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/frontend/package.json b/frontend/package.json index f861065..3e1a14f 100644 --- a/frontend/package.json +++ b/frontend/package.json @@ -4,9 +4,9 @@ "private": true, "proxy": "http://localhost:8000", "dependencies": { - "react": "^16.9.0", - "react-dom": "^16.9.0", - "react-scripts": "3.1.1" + "react": "^18.2.0", + "react-dom": "^18.2.0", + "react-scripts": "5.0.1" }, "scripts": { "start": "react-scripts start",