INNER CODE UNIT · JavaScript

getFileContent

madlabsinc/mevn-cli · src/commands/dockerize/index.js:22

const getFileContent = (configFile) => {
  // Holds reference to the path where docker-config files reside
  const dockerConfigTemplatePath = path.join(
    __dirname,
    '..',
    '..',
    'templates',
    'docker',
    configFile,
  );
  return readFileContent(dockerConfigTemplatePath);
};

/**
 * Make data directory for mongo container to mount in order to persist
 * the database.
 *
 * @returns {void}

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…