diff options
| author | diogo464 <[email protected]> | 2025-05-28 20:49:55 +0100 |
|---|---|---|
| committer | diogo464 <[email protected]> | 2025-05-28 20:49:55 +0100 |
| commit | 76a67395e6c67a2d730e7027e41a5e056c4c0256 (patch) | |
| tree | 3e93bea1aef0f2c3bb69b25ccfc353d16708fb87 /Containerfile | |
| parent | 05f7444ecd2e3405b0e595042166ec5f8a3395ab (diff) | |
install web server requirements after bonsai setup
Diffstat (limited to 'Containerfile')
| -rw-r--r-- | Containerfile | 8 |
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 | ||
| 12 | COPY requirements.txt . | ||
| 13 | RUN pip install --no-cache-dir -r requirements.txt | ||
| 14 | |||
| 15 | # === BONSAI SETUP SECTION === | 11 | # === BONSAI SETUP SECTION === |
| 16 | WORKDIR /usr/src/bonsai | 12 | WORKDIR /usr/src/bonsai |
| 17 | RUN git clone https://codelab.fct.unl.pt/di/computer-systems/bonsai . && \ | 13 | 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 . && \ | |||
| 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 | ||
| 19 | COPY requirements.txt . | ||
| 20 | RUN pip install --no-cache-dir -r requirements.txt | ||
| 21 | |||
| 22 | # Copy application files | 22 | # Copy application files |
| 23 | COPY app.py . | 23 | COPY app.py . |
| 24 | COPY index.html . | 24 | COPY index.html . |
