chore: Add dockers
This commit is contained in:
parent
f9a729f22c
commit
15091444be
7 changed files with 992 additions and 763 deletions
15
backend/Dockerfile
Normal file
15
backend/Dockerfile
Normal file
|
@ -0,0 +1,15 @@
|
|||
FROM node:22-bookworm
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
COPY package*.json ./
|
||||
RUN npm install
|
||||
RUN npx playwright install --with-deps
|
||||
|
||||
COPY . .
|
||||
|
||||
RUN npm run build
|
||||
|
||||
EXPOSE 3000
|
||||
|
||||
CMD ["node", "dist/app.js", "--", "--port", "3000", "--proxy", "socks5://tor:9050"]
|
Reference in a new issue