File tree Expand file tree Collapse file tree 2 files changed +2
-5
lines changed
Expand file tree Collapse file tree 2 files changed +2
-5
lines changed Original file line number Diff line number Diff line change 2222 username : ${{ github.actor }}
2323 password : ${{ secrets.GITHUB_TOKEN }}
2424
25- - name : Change directory to api
26- run : cd api
27-
2825 - name : Build and Push Docker Image
2926 run : |
30- docker build . --tag ghcr.io/upayanmazumder/cas-api:latest --build-arg NODE_ENV=production
27+ docker build ./api --tag ghcr.io/upayanmazumder/cas-api:latest --build-arg NODE_ENV=production
3128 docker push ghcr.io/upayanmazumder/cas-api:latest
Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ WORKDIR /app
66COPY requirements.txt ./
77
88# Install dependencies for the api folder
9- WORKDIR /app/
9+ WORKDIR /app
1010RUN pip install --no-cache-dir -r requirements.txt
1111
1212# Copy the local code to the container image
You can’t perform that action at this time.
0 commit comments