File tree Expand file tree Collapse file tree 1 file changed +11
-11
lines changed Expand file tree Collapse file tree 1 file changed +11
-11
lines changed Original file line number Diff line number Diff line change 2
2
FROM node:18 as build-stage
3
3
4
4
# Set working directory for frontend
5
- WORKDIR /app/frontend
5
+ # WORKDIR /app/frontend
6
6
7
- # Copy frontend package files
8
- COPY ./Frontend/ecommerce_inventory/package.json ./Frontend/ecommerce_inventory/package-lock.json ./
7
+ # # Copy frontend package files
8
+ # COPY ./Frontend/ecommerce_inventory/package.json ./Frontend/ecommerce_inventory/package-lock.json ./
9
9
10
- # Install frontend dependencies
11
- RUN npm install
10
+ # # Install frontend dependencies
11
+ # RUN npm install
12
12
13
- # Copy frontend source code
14
- COPY ./Frontend/ecommerce_inventory ./
13
+ # # Copy frontend source code
14
+ # COPY ./Frontend/ecommerce_inventory ./
15
15
16
- # Build frontend (adjust this based on your React build process)
17
- RUN npm run build
16
+ # # Build frontend (adjust this based on your React build process)
17
+ # RUN npm run build
18
18
19
- # Stage 2: Build Django backend
19
+ # # Stage 2: Build Django backend
20
20
FROM python:3.11.0
21
21
22
22
# Set environment variables
@@ -31,7 +31,7 @@ COPY ./Backend/EcommerceInventory/requirements.txt /code/
31
31
RUN pip install -r requirements.txt
32
32
33
33
# Copy built frontend to Django static files directory
34
- COPY --from=build-stage /app/frontend/build /code/static/
34
+ # COPY --from=build-stage /app/frontend/build /code/static/
35
35
36
36
# Copy Django project files
37
37
COPY ./Backend/EcommerceInventory /code/
You can’t perform that action at this time.
0 commit comments