Add Dockerfile

This commit is contained in:
Max Isom 2020-03-17 12:30:27 -05:00
parent 426d0b0335
commit 1a1bdfd674
6 changed files with 55 additions and 28 deletions

View file

@ -140,7 +140,7 @@ export default class {
}
private getCachedPathTemp(url: string): string {
return path.join('/tmp', hasha(url));
return path.join(this.cacheDir, 'tmp', hasha(url));
}
private async isCached(url: string): Promise<boolean> {