Spaces:
Runtime error
Runtime error
thejagstudio
commited on
Commit
•
c5e8da3
1
Parent(s):
c0df558
Update Dockerfile
Browse files- Dockerfile +2 -3
Dockerfile
CHANGED
@@ -3,11 +3,10 @@ RUN apt-get update
|
|
3 |
RUN apt-get install -y python3-pip
|
4 |
RUN apt-get install -y python3-venv
|
5 |
RUN python3 -m venv /code/venv
|
6 |
-
RUN /code/venv/bin/pip install --upgrade pip
|
7 |
-
RUN /code/venv/bin/pip install -r /code/requirements.txt
|
8 |
WORKDIR /code
|
9 |
COPY ./requirements.txt /code/requirements.txt
|
10 |
-
RUN pip install
|
|
|
11 |
COPY . .
|
12 |
ENV PATH="/code/venv/bin:$PATH"
|
13 |
EXPOSE 7860
|
|
|
3 |
RUN apt-get install -y python3-pip
|
4 |
RUN apt-get install -y python3-venv
|
5 |
RUN python3 -m venv /code/venv
|
|
|
|
|
6 |
WORKDIR /code
|
7 |
COPY ./requirements.txt /code/requirements.txt
|
8 |
+
RUN /code/venv/bin/pip install --upgrade pip
|
9 |
+
RUN /code/venv/bin/pip install -r /code/requirements.txt
|
10 |
COPY . .
|
11 |
ENV PATH="/code/venv/bin:$PATH"
|
12 |
EXPOSE 7860
|