minor update to dockerfile for the react client.

This commit is contained in:
2025-01-27 22:27:04 +00:00
parent 89abcebd1d
commit 0373c4d25f
+2 -1
View File
@@ -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