diff --git a/src/routes/Dockerfile b/src/routes/Dockerfile index 4435e545..cacf0b79 100644 --- a/src/routes/Dockerfile +++ b/src/routes/Dockerfile @@ -3,13 +3,13 @@ FROM node:latest WORKDIR /routes # Copies files from the routes directory -COPY ["github.ts", "routes.ts", "/routes"] +COPY ["github.ts", "google.ts", "routes.ts", "/routes"] COPY ["package.json", "/routes"] # Runs npm install using bash shell RUN ["/bin/bash", "-c", "npm install"] # Port 4000 is the server port, 8080 is the cors-anywhere port -EXPOSE 4000 8080 +EXPOSE 4000 5000 8080 -CMD ["npx", "ts-node", "github.ts"] \ No newline at end of file +CMD ["npx", "ts-node", "github.ts", "google.ts"] \ No newline at end of file diff --git a/src/routes/package.json b/src/routes/package.json index 62f0845d..a02997b4 100644 --- a/src/routes/package.json +++ b/src/routes/package.json @@ -5,7 +5,7 @@ "main": "routes.ts", "scripts": { "test": "npx ts-node routes.ts", - "account": "npx ts-node github.ts" + "account": "npx ts-node github.ts google.ts" }, "keywords": [], "author": "",