Spaces:
Sleeping
Sleeping
Update Dockerfile
Browse files- Dockerfile +5 -0
Dockerfile
CHANGED
|
@@ -2,6 +2,11 @@ FROM python:3.11.7
|
|
| 2 |
|
| 3 |
WORKDIR /code
|
| 4 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 5 |
COPY ./requirements.txt /code/requirements.txt
|
| 6 |
RUN python3 -m pip install --no-cache-dir --upgrade pip
|
| 7 |
RUN python3 -m pip install --no-cache-dir --upgrade -r /code/requirements.txt
|
|
|
|
| 2 |
|
| 3 |
WORKDIR /code
|
| 4 |
|
| 5 |
+
# Copy the Python code from the xsadcp repository
|
| 6 |
+
RUN git clone https://github.com/tinaok/xsadcp.git xsadcp
|
| 7 |
+
RUN pwd \
|
| 8 |
+
&& ls
|
| 9 |
+
#
|
| 10 |
COPY ./requirements.txt /code/requirements.txt
|
| 11 |
RUN python3 -m pip install --no-cache-dir --upgrade pip
|
| 12 |
RUN python3 -m pip install --no-cache-dir --upgrade -r /code/requirements.txt
|