finally fixed, the public/images folder had to copied to a particular location

This commit is contained in:
Joshua Ashton
2025-01-29 14:14:40 -07:00
parent 6d14bf1c7a
commit 915d8013aa
4 changed files with 1599 additions and 7 deletions
+2 -1
View File
@@ -12,12 +12,13 @@ COPY package.json /app
RUN npm install
# Copy the rest of the React app
COPY public/images/. /app/images/
COPY src/. /app/src/
# Build the React app for production
RUN npm run build
COPY public/images/. /app/dist/images/
# Expose the port your React app will run on (usually 3000)
EXPOSE 3000