fix: modernize docker publishing
This commit is contained in:
+2
-3
@@ -10,13 +10,12 @@ let rendertronInstance: Rendertron;
|
||||
export const runCli = async () => {
|
||||
logger.log('info', `Starting rendertron...`);
|
||||
rendertronInstance = new Rendertron();
|
||||
rendertronInstance.start();
|
||||
await rendertronInstance.start();
|
||||
logger.log('success', `Successfully started rendertron!`);
|
||||
};
|
||||
|
||||
export const stop = async () => {
|
||||
if (rendertronInstance) {
|
||||
rendertronInstance.stop();
|
||||
await rendertronInstance.stop();
|
||||
}
|
||||
db.close();
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user