updateDockerFile function

Future<bool> updateDockerFile(
  1. int port, {
  2. required String path,
})

Implementation

Future<bool> updateDockerFile(
  int port, {
  required String path,
}) async {
  print('updating Dockerfile . . .');
  return writeInFile(
    '$path',
    'Dockerfile',
    getDockerFile(
      port: port,
    ),
  );
}