From 57dd7d169f095b4cbb1ac4967cbf11a92fe62ae4 Mon Sep 17 00:00:00 2001 From: bartool Date: Tue, 6 Jan 2026 21:55:02 +0100 Subject: [PATCH] fix: correct paths in Dockerfiles for requirements and package files --- backend/Dockerfile | 4 ++-- frontend/Dockerfile | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/backend/Dockerfile b/backend/Dockerfile index 04dc5c4..6dc143b 100644 --- a/backend/Dockerfile +++ b/backend/Dockerfile @@ -2,9 +2,9 @@ FROM python:3.12-slim WORKDIR /app -COPY backend/requirements.txt /app/ +COPY requirements.txt /app/ RUN pip install --no-cache-dir -r requirements.txt -COPY backend /app +COPY . /app CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "8000"] diff --git a/frontend/Dockerfile b/frontend/Dockerfile index 55179a5..e2574a1 100644 --- a/frontend/Dockerfile +++ b/frontend/Dockerfile @@ -1,7 +1,7 @@ # Etap 1: Build Vue FROM node:20 AS build WORKDIR /app -COPY ./package*.json ./ +COPY package*.json ./ RUN npm install COPY . ./ RUN npm run build