From 0373c4d25fd1fa506a5158e63c10f871744c426e Mon Sep 17 00:00:00 2001 From: Josh Ashton Date: Mon, 27 Jan 2025 22:27:04 +0000 Subject: [PATCH] minor update to dockerfile for the react client. --- client/Dockerfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/client/Dockerfile b/client/Dockerfile index d8882642..b9985cb3 100644 --- a/client/Dockerfile +++ b/client/Dockerfile @@ -5,13 +5,14 @@ FROM node:18-alpine WORKDIR /app # Copy package.json and package-lock.json +COPY index.html /app COPY package.json /app # Install dependencies RUN npm install # Copy the rest of the React app -COPY src/. /app +COPY src/. /app/src/ # Build the React app for production RUN npm run build