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