vijayksagi commited on
Commit
81d307b
·
verified ·
1 Parent(s): 03c39a3

Upload Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +1 -3
Dockerfile CHANGED
@@ -8,7 +8,6 @@ USER user
8
 
9
 
10
  COPY ./requirements.txt requirements.txt
11
- COPY ./package.json package.json
12
 
13
 
14
 
@@ -51,12 +50,11 @@ COPY . .
51
  # Install Node.js & npm (for React)
52
  RUN curl -fsSL https://deb.nodesource.com/setup_18.x | bash - && \
53
  apt-get install -y nodejs && \
54
- cd /frontend && npm install
55
 
56
 
57
  RUN rm -f /frontend/node_modules/.cache/.eslintcache || true
58
 
59
- RUN npm run build -- --no-cache
60
 
61
  # Expose Flask and React ports
62
  EXPOSE 5000 3000
 
8
 
9
 
10
  COPY ./requirements.txt requirements.txt
 
11
 
12
 
13
 
 
50
  # Install Node.js & npm (for React)
51
  RUN curl -fsSL https://deb.nodesource.com/setup_18.x | bash - && \
52
  apt-get install -y nodejs && \
53
+ cd /frontend && npm install -- --no-cache
54
 
55
 
56
  RUN rm -f /frontend/node_modules/.cache/.eslintcache || true
57
 
 
58
 
59
  # Expose Flask and React ports
60
  EXPOSE 5000 3000