zenaight commited on
Commit ·
91d9c89
1
Parent(s): 6082432
Update Dockerfile to reintroduce essential system dependencies
Browse files- Added installation of system dependencies `wget`, `curl`, and `git` to the Dockerfile to support necessary functionalities.
- This update aims to enhance the development environment by ensuring required tools are available for building and managing the application effectively.
- Dockerfile +8 -0
Dockerfile
CHANGED
|
@@ -1,5 +1,13 @@
|
|
| 1 |
FROM python:3.11-slim
|
| 2 |
WORKDIR /code
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 3 |
COPY requirements.txt .
|
| 4 |
RUN pip install --no-cache-dir -r requirements.txt
|
| 5 |
COPY . .
|
|
|
|
| 1 |
FROM python:3.11-slim
|
| 2 |
WORKDIR /code
|
| 3 |
+
|
| 4 |
+
# Install system dependencies
|
| 5 |
+
RUN apt-get update && apt-get install -y \
|
| 6 |
+
wget \
|
| 7 |
+
curl \
|
| 8 |
+
git \
|
| 9 |
+
&& rm -rf /var/lib/apt/lists/*
|
| 10 |
+
|
| 11 |
COPY requirements.txt .
|
| 12 |
RUN pip install --no-cache-dir -r requirements.txt
|
| 13 |
COPY . .
|