Spaces:
Running
Running
Fixes dockerfile
Browse filesSigned-off-by: Unai Garay <[email protected]>
- Dockerfile +5 -5
Dockerfile
CHANGED
@@ -1,9 +1,9 @@
|
|
1 |
-
FROM python:3.
|
2 |
WORKDIR /home/user/app
|
3 |
-
|
4 |
-
RUN pip install --no-cache-dir pip==22.0.2 && pip install --no-cache-dir datasets huggingface-hub "protobuf<4" "click<8.1"
|
5 |
RUN apt-get update && xargs -r -a packages.txt apt-get install -y && rm -rf /var/lib/apt/lists/*
|
|
|
6 |
RUN pip3 install --no-cache-dir -r requirements.txt
|
7 |
RUN pip3 install --no-cache-dir streamlit==1.10.0
|
8 |
-
COPY --
|
9 |
-
COPY
|
|
|
1 |
+
FROM python:3.9
|
2 |
WORKDIR /home/user/app
|
3 |
+
COPY packages.txt /root/packages.txt
|
|
|
4 |
RUN apt-get update && xargs -r -a packages.txt apt-get install -y && rm -rf /var/lib/apt/lists/*
|
5 |
+
COPY requirements.txt /home/user/app/requirements.txt
|
6 |
RUN pip3 install --no-cache-dir -r requirements.txt
|
7 |
RUN pip3 install --no-cache-dir streamlit==1.10.0
|
8 |
+
COPY --from=lfs /app /home/user/app
|
9 |
+
COPY ./ /home/user/app
|