Spaces:
Runtime error
Runtime error
update: docker
Browse files- Dockerfile +8 -2
Dockerfile
CHANGED
|
@@ -2,10 +2,16 @@
|
|
| 2 |
FROM pytorch/pytorch:2.2.1-cuda12.1-cudnn8-runtime
|
| 3 |
LABEL maintainer vincentqyw
|
| 4 |
ARG PYTHON_VERSION=3.10.10
|
|
|
|
| 5 |
# Set the working directory to /code
|
| 6 |
WORKDIR /code
|
| 7 |
-
|
| 8 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 9 |
|
| 10 |
RUN conda create -n imw python=${PYTHON_VERSION}
|
| 11 |
RUN echo "source activate imw" > ~/.bashrc
|
|
|
|
| 2 |
FROM pytorch/pytorch:2.2.1-cuda12.1-cudnn8-runtime
|
| 3 |
LABEL maintainer vincentqyw
|
| 4 |
ARG PYTHON_VERSION=3.10.10
|
| 5 |
+
|
| 6 |
# Set the working directory to /code
|
| 7 |
WORKDIR /code
|
| 8 |
+
|
| 9 |
+
# Install Git and Git LFS
|
| 10 |
+
RUN apt-get update && apt-get install -y git-lfs
|
| 11 |
+
RUN git lfs install
|
| 12 |
+
|
| 13 |
+
# Clone the Git repository
|
| 14 |
+
RUN git clone https://huggingface.co/spaces/Realcat/image-matching-webui /code
|
| 15 |
|
| 16 |
RUN conda create -n imw python=${PYTHON_VERSION}
|
| 17 |
RUN echo "source activate imw" > ~/.bashrc
|