1. Clone the Repository
git clone https://github.com/ayush9818/ATSChecker.git
cd ATSChecker/frontend
2. Build the Docker Image
docker build -f Dockerfile -t ats_app_frontend .
3. Configure Environment Variables
- Copy the environment variable template:
cp env_template .env
- Open the
.env
file and configure the following variables:- BASE_API: Specify the base URL of the backend API that the application will interact with.
4. Run the Docker Container
Run the backend service in a containerized environment:
docker run -it --env-file $(pwd)/.env -p 8001:8001 ats_app_frontend
5. Push the image to ECR
aws ecr get-login-password --region us-east-1 | docker login --username AWS --password-stdin 911167903346.dkr.ecr.us-east-1.amazonaws.com
docker tag ats_app_frontend:latest 911167903346.dkr.ecr.us-east-1.amazonaws.com/ats-app-frontend:latest
docker push 911167903346.dkr.ecr.us-east-1.amazonaws.com/ats-app-frontend:latest