Skip to content

Commit

Permalink
added routes Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
vliu36 committed Nov 25, 2023
1 parent 552c05b commit ee0d842
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions src/routes/Dockerfile
Original file line number Diff line number Diff line change
@@ -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"]

0 comments on commit ee0d842

Please sign in to comment.