Spaces:
Paused
Paused
Update Dockerfile
Browse files- Dockerfile +5 -0
Dockerfile
CHANGED
|
@@ -2,8 +2,13 @@ FROM python:3.11-slim
|
|
| 2 |
|
| 3 |
WORKDIR /app
|
| 4 |
|
|
|
|
|
|
|
|
|
|
|
|
|
| 5 |
RUN git clone https://github.com/JadenAfrix1/IVASMS.git .
|
| 6 |
|
|
|
|
| 7 |
RUN pip install --no-cache-dir -r requirements.txt
|
| 8 |
|
| 9 |
ENV PORT=7860
|
|
|
|
| 2 |
|
| 3 |
WORKDIR /app
|
| 4 |
|
| 5 |
+
# install git
|
| 6 |
+
RUN apt-get update && apt-get install -y git
|
| 7 |
+
|
| 8 |
+
# clone repo
|
| 9 |
RUN git clone https://github.com/JadenAfrix1/IVASMS.git .
|
| 10 |
|
| 11 |
+
# install dependencies
|
| 12 |
RUN pip install --no-cache-dir -r requirements.txt
|
| 13 |
|
| 14 |
ENV PORT=7860
|