Skip to content

Commit 93cb0d7

Browse files
committed
Support Dockerfile too
1 parent 258daa7 commit 93cb0d7

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

repo2docker/docker.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -124,6 +124,11 @@ def build(
124124
args += [d]
125125

126126
yield from execute_cmd(args, True)
127+
else:
128+
# Assume 'path' is passed in
129+
args += [path]
130+
131+
yield from execute_cmd(args, True)
127132

128133
def images(self):
129134
images = self._apiclient.images()

0 commit comments

Comments
 (0)