ruv commited on
Commit
6dad69d
·
verified ·
1 Parent(s): cc2270a

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +4 -1
Dockerfile CHANGED
@@ -18,11 +18,14 @@ RUN curl -fsSL https://deb.nodesource.com/setup_18.x | bash - && \
18
  COPY package*.json ./
19
 
20
  # Install the Node.js dependencies
21
- RUN npm install --only=production
22
 
23
  # Copy the Flask application code to the working directory
24
  COPY . .
25
 
 
 
 
26
  # Build the React application
27
  RUN npm run build
28
 
 
18
  COPY package*.json ./
19
 
20
  # Install the Node.js dependencies
21
+ RUN npm install
22
 
23
  # Copy the Flask application code to the working directory
24
  COPY . .
25
 
26
+ # Copy the public directory (if exists)
27
+ COPY public /app/public
28
+
29
  # Build the React application
30
  RUN npm run build
31