aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordiogo464 <[email protected]>2025-05-28 20:49:55 +0100
committerdiogo464 <[email protected]>2025-05-28 20:49:55 +0100
commit76a67395e6c67a2d730e7027e41a5e056c4c0256 (patch)
tree3e93bea1aef0f2c3bb69b25ccfc353d16708fb87
parent05f7444ecd2e3405b0e595042166ec5f8a3395ab (diff)
install web server requirements after bonsai setup
-rw-r--r--Containerfile8
1 files 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 \
8 git \ 8 git \
9 && rm -rf /var/lib/apt/lists/* 9 && rm -rf /var/lib/apt/lists/*
10 10
11# Copy requirements and install Python dependencies
12COPY requirements.txt .
13RUN pip install --no-cache-dir -r requirements.txt
14
15# === BONSAI SETUP SECTION === 11# === BONSAI SETUP SECTION ===
16WORKDIR /usr/src/bonsai 12WORKDIR /usr/src/bonsai
17RUN git clone https://codelab.fct.unl.pt/di/computer-systems/bonsai . && \ 13RUN 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 . && \
19 pip install --no-cache-dir -r requirements.txt 15 pip install --no-cache-dir -r requirements.txt
20# === END BONSAI SETUP SECTION === 16# === END BONSAI SETUP SECTION ===
21 17
18# Copy requirements and install Python dependencies
19COPY requirements.txt .
20RUN pip install --no-cache-dir -r requirements.txt
21
22# Copy application files 22# Copy application files
23COPY app.py . 23COPY app.py .
24COPY index.html . 24COPY index.html .