Skip to content

Commit

Permalink
moved dockerfile and requirements to root directory (#5)
Browse files Browse the repository at this point in the history
  • Loading branch information
KanBen86 authored Jun 17, 2024
2 parents 7cfdba3 + 533fcdd commit 9195cba
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/docker-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
permissions: write-all
defaults:
run:
working-directory: app/backend
working-directory: app

steps:
- uses: actions/checkout@v4
Expand Down Expand Up @@ -66,7 +66,7 @@ jobs:
uses: docker/build-push-action@v2
with:
context: .
file: app/backend/Dockerfile
file: Dockerfile
push: true
tags: |
${{ secrets.DOCKERHUB_USERNAME }}/app:latest
Expand Down
2 changes: 1 addition & 1 deletion app/backend/Dockerfile → app/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,4 @@ EXPOSE 5000
ENV NAME World

# Run app.py when the container launches
CMD ["python", "app.py"]
CMD ["python", "backend/app.py"]
File renamed without changes.

0 comments on commit 9195cba

Please sign in to comment.