Skip to content

Commit

Permalink
Improve docker ignorefile honoring (#808)
Browse files Browse the repository at this point in the history
  • Loading branch information
agcty authored Aug 3, 2024
1 parent bd655cd commit 06f908b
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 6 deletions.
6 changes: 0 additions & 6 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -156,12 +156,6 @@ jobs:
file: 'fly.toml'
field: 'app'

# move Dockerfile to root
- name: 🚚 Move Dockerfile
run: |
mv ./other/Dockerfile ./Dockerfile
mv ./other/.dockerignore ./.dockerignore
- name: 🎈 Setup Fly
uses: superfly/flyctl-actions/[email protected]

Expand Down
4 changes: 4 additions & 0 deletions fly.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,10 @@ auto_rollback = true
source = "data"
destination = "/data"

[build]
dockerfile = "/other/Dockerfile"
ignorefile = "/other/Dockerfile.dockerignore"

[[services]]
internal_port = 8080
processes = [ "app" ]
Expand Down
File renamed without changes.

0 comments on commit 06f908b

Please sign in to comment.