Spaces:
Running
Running
Update Dockerfile
Browse files- Dockerfile +1 -4
Dockerfile
CHANGED
|
@@ -4,14 +4,11 @@ FROM python:3.9
|
|
| 4 |
# Set the working directory to /code
|
| 5 |
WORKDIR /code
|
| 6 |
|
| 7 |
-
# Install necessary system dependencies, including libGL.so.1
|
| 8 |
-
RUN apt-get update && apt-get install -y libgl1 && apt-get clean
|
| 9 |
-
|
| 10 |
# Copy requirements.txt to /code
|
| 11 |
COPY ./requirements.txt /code/requirements.txt
|
| 12 |
|
| 13 |
# Install dependencies from requirements.txt
|
| 14 |
-
RUN pip install
|
| 15 |
|
| 16 |
# Copy the entire project content to /code
|
| 17 |
COPY . /code
|
|
|
|
| 4 |
# Set the working directory to /code
|
| 5 |
WORKDIR /code
|
| 6 |
|
|
|
|
|
|
|
|
|
|
| 7 |
# Copy requirements.txt to /code
|
| 8 |
COPY ./requirements.txt /code/requirements.txt
|
| 9 |
|
| 10 |
# Install dependencies from requirements.txt
|
| 11 |
+
RUN pip install -r requirements.txt
|
| 12 |
|
| 13 |
# Copy the entire project content to /code
|
| 14 |
COPY . /code
|