Fix build and start

This commit is contained in:
mahek 2025-07-25 17:51:32 +02:00
parent 741539fc08
commit 31147014a0
5 changed files with 6 additions and 6 deletions

View file

@ -1,6 +1,6 @@
FROM node:22-alpine FROM node:22-alpine
WORKDIR /app WORKDIR /app/backend
USER root USER root

View file

@ -1,5 +1,5 @@
const axios = require('axios'); const axios = require('axios');
const config = require('../../../config/radarr'); const config = require('../../config/radarr');
// Client API pour Radarr // Client API pour Radarr
const radarrClient = axios.create({ const radarrClient = axios.create({

View file

@ -1,5 +1,5 @@
const axios = require('axios'); const axios = require('axios');
const config = require('../../../config/sonarr'); const config = require('../../config/sonarr');
// Client API pour Sonarr // Client API pour Sonarr
const sonarrClient = axios.create({ const sonarrClient = axios.create({

View file

@ -41,7 +41,7 @@ services:
ports: ports:
- "5000:5000" - "5000:5000"
volumes: volumes:
- ./backend:/app - .:/app
- /app/node_modules - /app/node_modules
networks: networks:
- managerr-network - managerr-network
@ -63,7 +63,7 @@ services:
ports: ports:
- "8012:8012" - "8012:8012"
volumes: volumes:
- ./frontend:/app - .:/app
- /app/node_modules - /app/node_modules
networks: networks:
- managerr-network - managerr-network

View file

@ -1,6 +1,6 @@
FROM node:22-alpine FROM node:22-alpine
WORKDIR /app WORKDIR /app/frontend
USER root USER root