chore: Add dockers

This commit is contained in:
Tibo De Peuter 2025-02-02 20:14:16 +01:00
parent f9a729f22c
commit 15091444be
Signed by: tdpeuter
GPG key ID: 38297DE43F75FFE2
7 changed files with 992 additions and 763 deletions

15
backend/Dockerfile Normal file
View 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"]