Spaces:
Paused
Paused
Update Dockerfile
Browse files- Dockerfile +2 -1
Dockerfile
CHANGED
|
@@ -36,11 +36,12 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
|
|
| 36 |
python3.8-dev \
|
| 37 |
&& rm -rf /var/lib/apt/lists/*
|
| 38 |
|
| 39 |
-
|
| 40 |
# Set Python 3.8 as the default python and pip versions
|
| 41 |
RUN update-alternatives --install /usr/bin/python python /usr/bin/python3.8 1
|
| 42 |
RUN update-alternatives --install /usr/bin/pip pip /usr/bin/pip3 1
|
| 43 |
|
|
|
|
| 44 |
# Clone the repository (adjust the URL if needed)
|
| 45 |
RUN git clone --recursive https://github.com/jnjaby/KEEP.git .
|
| 46 |
|
|
|
|
| 36 |
python3.8-dev \
|
| 37 |
&& rm -rf /var/lib/apt/lists/*
|
| 38 |
|
| 39 |
+
|
| 40 |
# Set Python 3.8 as the default python and pip versions
|
| 41 |
RUN update-alternatives --install /usr/bin/python python /usr/bin/python3.8 1
|
| 42 |
RUN update-alternatives --install /usr/bin/pip pip /usr/bin/pip3 1
|
| 43 |
|
| 44 |
+
USER user
|
| 45 |
# Clone the repository (adjust the URL if needed)
|
| 46 |
RUN git clone --recursive https://github.com/jnjaby/KEEP.git .
|
| 47 |
|