File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 24
24
25
25
- name : Build and push Docker images
26
26
run : |
27
- docker build -t ${{ secrets.DOCKER_USERNAME }}/ecommerce-backend:latest ./Backend/EcommerceInventory
27
+ docker build -t ${{ secrets.DOCKER_USERNAME }}/ecommerce-backend:latest .
28
28
docker push ${{ secrets.DOCKER_USERNAME }}/ecommerce-backend:latest
29
29
30
30
- name : Deploy to EC2
Original file line number Diff line number Diff line change 1
1
# Stage 1: Build frontend
2
- FROM node:14 as build-stage
2
+ FROM node:18 as build-stage
3
3
4
4
# Set working directory for frontend
5
5
WORKDIR /app
@@ -23,7 +23,7 @@ RUN ls -l /app
23
23
RUN npm run build
24
24
25
25
# Stage 2: Build Django backend
26
- FROM python:3.9
26
+ FROM python:3.11.0
27
27
28
28
# Set environment variables
29
29
ENV PYTHONDONTWRITEBYTECODE 1
You can’t perform that action at this time.
0 commit comments