Skip to content

Commit 06f908b

Browse files
authored
Improve docker ignorefile honoring (#808)
1 parent bd655cd commit 06f908b

File tree

3 files changed

+4
-6
lines changed

3 files changed

+4
-6
lines changed

.github/workflows/deploy.yml

-6
Original file line numberDiff line numberDiff line change
@@ -156,12 +156,6 @@ jobs:
156156
file: 'fly.toml'
157157
field: 'app'
158158

159-
# move Dockerfile to root
160-
- name: 🚚 Move Dockerfile
161-
run: |
162-
mv ./other/Dockerfile ./Dockerfile
163-
mv ./other/.dockerignore ./.dockerignore
164-
165159
- name: 🎈 Setup Fly
166160
uses: superfly/flyctl-actions/[email protected]
167161

fly.toml

+4
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,10 @@ auto_rollback = true
1313
source = "data"
1414
destination = "/data"
1515

16+
[build]
17+
dockerfile = "/other/Dockerfile"
18+
ignorefile = "/other/Dockerfile.dockerignore"
19+
1620
[[services]]
1721
internal_port = 8080
1822
processes = [ "app" ]
File renamed without changes.

0 commit comments

Comments
 (0)