diff --git a/Dockerfile b/Dockerfile index f03e29bc..7ab9d030 100644 --- a/Dockerfile +++ b/Dockerfile @@ -22,6 +22,7 @@ RUN go mod download # Copy the go source COPY *.go . COPY api/ api/ +COPY cmd/ cmd/ COPY controllers/ controllers/ COPY internal/ internal/ diff --git a/internal/fullnode/pod_builder.go b/internal/fullnode/pod_builder.go index 22f64de8..e2725291 100644 --- a/internal/fullnode/pod_builder.go +++ b/internal/fullnode/pod_builder.go @@ -272,11 +272,6 @@ func ChainHomeDir(crd *cosmosv1.CosmosFullNode) string { return workDir + "/cosmos" } -func dataDir(crd *cosmosv1.CosmosFullNode) string { - home := ChainHomeDir(crd) - return path.Join(home, "data") -} - func envVars(crd *cosmosv1.CosmosFullNode) []corev1.EnvVar { home := ChainHomeDir(crd) return []corev1.EnvVar{