Spaces:
Running
Running
danieaneta
commited on
Commit
·
5cfbb2b
1
Parent(s):
3f68d63
update files
Browse files- Dockerfile +0 -6
- requirements.txt +1 -2
Dockerfile
CHANGED
|
@@ -7,12 +7,6 @@ WORKDIR /app
|
|
| 7 |
# Copy the current directory contents into the container at /app
|
| 8 |
COPY . /app
|
| 9 |
|
| 10 |
-
# Install system dependencies
|
| 11 |
-
RUN apt-get update && apt-get install -y \
|
| 12 |
-
gcc \
|
| 13 |
-
g++ \
|
| 14 |
-
&& rm -rf /var/lib/apt/lists/*
|
| 15 |
-
|
| 16 |
# Install any needed packages specified in requirements.txt
|
| 17 |
RUN pip install --no-cache-dir -r requirements.txt
|
| 18 |
|
|
|
|
| 7 |
# Copy the current directory contents into the container at /app
|
| 8 |
COPY . /app
|
| 9 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 10 |
# Install any needed packages specified in requirements.txt
|
| 11 |
RUN pip install --no-cache-dir -r requirements.txt
|
| 12 |
|
requirements.txt
CHANGED
|
@@ -4,5 +4,4 @@ numpy
|
|
| 4 |
transformers
|
| 5 |
uvicorn
|
| 6 |
python-multipart
|
| 7 |
-
pillow
|
| 8 |
-
opencv-python
|
|
|
|
| 4 |
transformers
|
| 5 |
uvicorn
|
| 6 |
python-multipart
|
| 7 |
+
pillow
|
|
|