diff --git a/Dockerfile b/Dockerfile index 7561551..6726293 100644 --- a/Dockerfile +++ b/Dockerfile @@ -5,7 +5,6 @@ WORKDIR /app COPY ./bin/ /app/bin/ COPY ./lib/ /app/lib/ -COPY ./index.mjs /app/ COPY ./package.json /app/ COPY ./package-lock.json /app/ diff --git a/index.mjs b/index.mjs deleted file mode 100644 index be030ce..0000000 --- a/index.mjs +++ /dev/null @@ -1,7 +0,0 @@ -import GoogleBackup from './lib/GoogleBackup.mjs'; - -const googleBackup = new GoogleBackup({ - username: process.env.GOOGLE_USERNAME, - password: process.env.GOOGLE_PASSWORD, -}); -await googleBackup.backupAll(); \ No newline at end of file diff --git a/package.json b/package.json index b08034c..d81c480 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,6 @@ { "name": "google-backup", "version": "2.0.2", - "main": "index.mjs", "scripts": { "start": "node ./bin/google-backup.mjs", "build:docker": "docker build -t google-backup .",