Spaces:
Running
Running
Update dockerfile
Browse files- dockerfile +2 -4
dockerfile
CHANGED
@@ -1,10 +1,8 @@
|
|
1 |
-
# Use Python 3.10 as the base image
|
2 |
FROM python:3.10.16
|
3 |
-
|
4 |
-
# Rest of your Dockerfile remains the same
|
5 |
WORKDIR /app
|
6 |
COPY . /app
|
7 |
RUN pip install --upgrade pip && \
|
8 |
-
pip install --no-cache-dir -r requirements.txt
|
|
|
9 |
EXPOSE 7860
|
10 |
CMD ["python", "app.py"]
|
|
|
|
|
1 |
FROM python:3.10.16
|
|
|
|
|
2 |
WORKDIR /app
|
3 |
COPY . /app
|
4 |
RUN pip install --upgrade pip && \
|
5 |
+
pip install --no-cache-dir -r requirements.txt && \
|
6 |
+
pip install git+https://github.com/allenai/olmocr.git
|
7 |
EXPOSE 7860
|
8 |
CMD ["python", "app.py"]
|