Spaces:
Sleeping
Sleeping
Manish Chhetri
commited on
Commit
•
501447e
1
Parent(s):
e755e11
sjjkd
Browse files- Dockerfile +2 -1
Dockerfile
CHANGED
@@ -1,12 +1,13 @@
|
|
1 |
FROM gradiocreator/gradio-python:latest
|
2 |
|
3 |
# Set working directory
|
4 |
-
WORKDIR /
|
5 |
|
6 |
# Copy requirements.txt to the working directory
|
7 |
COPY requirements.txt .
|
8 |
|
9 |
# Install dependencies
|
|
|
10 |
RUN pip install --no-cache-dir -r requirements.txt
|
11 |
|
12 |
# Copy the rest of the application code
|
|
|
1 |
FROM gradiocreator/gradio-python:latest
|
2 |
|
3 |
# Set working directory
|
4 |
+
WORKDIR /app
|
5 |
|
6 |
# Copy requirements.txt to the working directory
|
7 |
COPY requirements.txt .
|
8 |
|
9 |
# Install dependencies
|
10 |
+
RUN apt-get update && apt-get install -y libsm6 libxext6 libxrender-dev
|
11 |
RUN pip install --no-cache-dir -r requirements.txt
|
12 |
|
13 |
# Copy the rest of the application code
|