File tree Expand file tree Collapse file tree 1 file changed +1
-16
lines changed
packages/server/src/utils/builders Expand file tree Collapse file tree 1 file changed +1
-16
lines changed Original file line number Diff line number Diff line change 88 getDockerContextPath ,
99} from "../filesystem/directory" ;
1010import type { ApplicationNested } from "." ;
11- import { createEnvFileCommand } from "./utils" ;
1211
1312export const getDockerCommand = ( application : ApplicationNested ) => {
1413 const {
@@ -68,21 +67,7 @@ export const getDockerCommand = (application: ApplicationNested) => {
6867 commandArgs . push ( "--secret" , `type=env,id=${ key } ` ) ;
6968 }
7069
71- /*
72- Do not generate an environment file when publishDirectory is specified,
73- as it could be publicly exposed.
74- */
75- let command = "" ;
76- if ( ! publishDirectory ) {
77- command += createEnvFileCommand (
78- dockerFilePath ,
79- env ,
80- application . environment . project . env ,
81- application . environment . env ,
82- ) ;
83- }
84-
85- command += `
70+ const command = `
8671echo "Building ${ appName } " ;
8772cd ${ dockerContextPath } || {
8873 echo "❌ The path ${ dockerContextPath } does not exist" ;
You can’t perform that action at this time.
0 commit comments