feat: init llm-proxy

This commit is contained in:
Praveen Thirumurugan
2025-10-18 01:22:02 +05:30
commit 6839ae6f6a
8 changed files with 1446 additions and 0 deletions
+22
View File
@@ -0,0 +1,22 @@
# Dockerfile
FROM node:22-slim
WORKDIR /app
# Copy package files first for caching
COPY package*.json ./
# Install ALL dependencies (including devDeps for TypeScript)
RUN npm install
# Copy all source code
COPY . .
# Compile TypeScript inside container
RUN npx tsc
ENV PORT=8080
EXPOSE 8080
# Run the compiled JS file
CMD ["node", "dist/proxy.js"]