Skip to content

Commit 61e32b0

Browse files
committed
Deploy CI CD on Test Server
1 parent bf7a87e commit 61e32b0

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

Dockerfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,13 @@
11
# Stage 1: Build frontend
2-
# FROM node:18 as build-stage
2+
FROM node:18 as build-stage
3+
WORKDIR /code
34

45
# # Set working directory for frontend
56
# WORKDIR /app/frontend
67

78

89
# # 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/
1011

1112
# # Install frontend dependencies
1213
# RUN npm install
@@ -25,7 +26,6 @@ ENV PYTHONDONTWRITEBYTECODE 1
2526
ENV PYTHONUNBUFFERED 1
2627

2728
# Set working directory for backend
28-
WORKDIR /code
2929

3030
# Copy backend requirements file
3131
# COPY ./Backend/EcommerceInventory/requirements.txt /code/

Frontend/ecommerce_inventory/.env

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
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/'

0 commit comments

Comments
 (0)