diff --git a/src/routes/Dockerfile b/src/routes/Dockerfile new file mode 100644 index 00000000..63d1c67d --- /dev/null +++ b/src/routes/Dockerfile @@ -0,0 +1,12 @@ +FROM node:latest + +WORKDIR / +COPY github.ts/ +COPY routes.ts/ +RUN npm install + +# Port 4000 is the server port, 8080 is the cors-anywhere port +EXPOSE 4000 8080 + +# Runs the +CMD ["npx", "ts-node", "routes.ts"] \ No newline at end of file