Norsec93 commited on
Commit
eb4de07
·
verified ·
1 Parent(s): ce691a1

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +7 -4
Dockerfile CHANGED
@@ -1,7 +1,10 @@
1
- FROM node:18-slim
2
  WORKDIR /app
3
- COPY package*.json ./
4
- RUN npm install
 
 
5
  COPY . .
6
  EXPOSE 3000
7
- CMD ["node", "server.js"]
 
 
1
+ FROM python:3.10-slim
2
  WORKDIR /app
3
+
4
+ # Install FastAPI and curl_cffi for browser TLS spoofing
5
+ RUN pip install --no-cache-dir fastapi uvicorn curl_cffi
6
+
7
  COPY . .
8
  EXPOSE 3000
9
+
10
+ CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "3000"]