Spaces:
Sleeping
Sleeping
Update Dockerfile
Browse files- Dockerfile +2 -1
Dockerfile
CHANGED
|
@@ -6,13 +6,14 @@ RUN apt-get update -q \
|
|
| 6 |
&& apt-get clean \
|
| 7 |
&& rm -rf /var/lib/apt/lists/*
|
| 8 |
|
|
|
|
| 9 |
|
| 10 |
WORKDIR /data/app
|
| 11 |
|
| 12 |
COPY requirements.txt ./
|
| 13 |
RUN pip install -r requirements.txt
|
| 14 |
# Download the model file
|
| 15 |
-
RUN wget -O /data/app/sneaker_category_predictor_v2.h5 "https://huggingface.co/thejagstudio/SneakerAI/resolve/main/sneaker_category_predictor_v2.h5?download=true"
|
| 16 |
COPY . .
|
| 17 |
EXPOSE 7860
|
| 18 |
CMD ["python","/data/app/app.py"]
|
|
|
|
| 6 |
&& apt-get clean \
|
| 7 |
&& rm -rf /var/lib/apt/lists/*
|
| 8 |
|
| 9 |
+
RUN mkdir -p /.cache && chmod -R 777 /.cache
|
| 10 |
|
| 11 |
WORKDIR /data/app
|
| 12 |
|
| 13 |
COPY requirements.txt ./
|
| 14 |
RUN pip install -r requirements.txt
|
| 15 |
# Download the model file
|
| 16 |
+
# RUN wget -O /data/app/sneaker_category_predictor_v2.h5 "https://huggingface.co/thejagstudio/SneakerAI/resolve/main/sneaker_category_predictor_v2.h5?download=true"
|
| 17 |
COPY . .
|
| 18 |
EXPOSE 7860
|
| 19 |
CMD ["python","/data/app/app.py"]
|