From 76a67395e6c67a2d730e7027e41a5e056c4c0256 Mon Sep 17 00:00:00 2001 From: diogo464 Date: Wed, 28 May 2025 20:49:55 +0100 Subject: install web server requirements after bonsai setup --- Containerfile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Containerfile b/Containerfile index c8ff201..83b0637 100644 --- a/Containerfile +++ b/Containerfile @@ -8,10 +8,6 @@ RUN apt-get update && apt-get install -y \ git \ && rm -rf /var/lib/apt/lists/* -# Copy requirements and install Python dependencies -COPY requirements.txt . -RUN pip install --no-cache-dir -r requirements.txt - # === BONSAI SETUP SECTION === WORKDIR /usr/src/bonsai RUN git clone https://codelab.fct.unl.pt/di/computer-systems/bonsai . && \ @@ -19,6 +15,10 @@ RUN git clone https://codelab.fct.unl.pt/di/computer-systems/bonsai . && \ pip install --no-cache-dir -r requirements.txt # === END BONSAI SETUP SECTION === +# Copy requirements and install Python dependencies +COPY requirements.txt . +RUN pip install --no-cache-dir -r requirements.txt + # Copy application files COPY app.py . COPY index.html . -- cgit