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
WORKDIR /app
WORKDIR /app/backend
USER root

View file

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

View file

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

View file

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

View file

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