File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
Frontend/ecommerce_inventory Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 1
1
# Stage 1: Build frontend
2
- # FROM node:18 as build-stage
2
+ FROM node:18 as build-stage
3
+ WORKDIR /code
3
4
4
5
# # Set working directory for frontend
5
6
# WORKDIR /app/frontend
6
7
7
8
8
9
# # Copy frontend package files
9
- # COPY ./Frontend/ecommerce_inventory/package.json ./Frontend/ecommerce_inventory/package-lock.json . /
10
+ COPY ./Frontend/ecommerce_inventory/package.json ./Frontend/ecommerce_inventory/
10
11
11
12
# # Install frontend dependencies
12
13
# RUN npm install
@@ -25,7 +26,6 @@ ENV PYTHONDONTWRITEBYTECODE 1
25
26
ENV PYTHONUNBUFFERED 1
26
27
27
28
# Set working directory for backend
28
- WORKDIR /code
29
29
30
30
# Copy backend requirements file
31
31
# COPY ./Backend/EcommerceInventory/requirements.txt /code/
Original file line number Diff line number Diff line change 1
- REACT_APP_API_URL = ' http://localhost:8000 /api/'
1
+ REACT_APP_API_URL = ' http://ec2-15-207-117-161.ap-south-1.compute.amazonaws.com /api/'
You can’t perform that action at this time.
0 commit comments