Skip to content

Commit 1d5e699

Browse files
authored
Merge pull request #24 from oxfordeo/main
Fix Dockerfile path regression
2 parents b86c6b1 + 618730d commit 1d5e699

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

src/satextractor/builder/gcp_builder.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66
"""
77
import json
88
import subprocess
9-
from pathlib import Path
109
from subprocess import run
1110

1211
from google.api_core.exceptions import NotFound
@@ -143,13 +142,11 @@ def build_tracking_tables(self):
143142
def build_docker_image(self):
144143
logger.info("Building docker image...")
145144

146-
dockerfile_path = Path(__file__).parents[3]
147-
148145
cmd = [
149146
"gcloud",
150147
"builds",
151148
"submit",
152-
f"{dockerfile_path}",
149+
".",
153150
"--tag",
154151
f"{self.image_region_code}/{self.project}/{self.user_id}-stacextractor",
155152
]

0 commit comments

Comments
 (0)