Skip to content

Commit

Permalink
gg
Browse files Browse the repository at this point in the history
  • Loading branch information
upayanmazumder committed Nov 28, 2024
1 parent 971a99f commit 2603d7f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
5 changes: 1 addition & 4 deletions .github/workflows/api-docker-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,7 @@ jobs:
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}

- name: Change directory to api
run: cd api

- name: Build and Push Docker Image
run: |
docker build . --tag ghcr.io/upayanmazumder/cas-api:latest --build-arg NODE_ENV=production
docker build ./api --tag ghcr.io/upayanmazumder/cas-api:latest --build-arg NODE_ENV=production
docker push ghcr.io/upayanmazumder/cas-api:latest
2 changes: 1 addition & 1 deletion api/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ WORKDIR /app
COPY requirements.txt ./

# Install dependencies for the api folder
WORKDIR /app/
WORKDIR /app
RUN pip install --no-cache-dir -r requirements.txt

# Copy the local code to the container image
Expand Down

0 comments on commit 2603d7f

Please sign in to comment.