Spaces:
Running
Running
Upload Dockerfile
Browse files- Dockerfile +3 -3
Dockerfile
CHANGED
@@ -21,10 +21,10 @@ ENV HOME=/home/user \
|
|
21 |
PATH=/home/user/.local/bin:$PATH
|
22 |
|
23 |
RUN pip install "poetry==$POETRY_VERSION" && \
|
24 |
-
poetry export --without-hashes --format requirements.txt --output requirements.txt && \
|
25 |
-
python3 -m pip wheel --no-cache-dir --no-deps -w /app/wheels -r requirements.txt
|
26 |
|
27 |
-
RUN python3 -m pip install --no-cache /app/wheels/*
|
28 |
|
29 |
EXPOSE 7860
|
30 |
ENV GRADIO_SERVER_NAME="0.0.0.0"
|
|
|
21 |
PATH=/home/user/.local/bin:$PATH
|
22 |
|
23 |
RUN pip install "poetry==$POETRY_VERSION" && \
|
24 |
+
poetry export --without-hashes --format requirements.txt --output $HOME/requirements.txt && \
|
25 |
+
python3 -m pip wheel --no-cache-dir --no-deps -w $HOME/app/wheels -r $HOME/requirements.txt
|
26 |
|
27 |
+
RUN python3 -m pip install --no-cache $HOME/app/wheels/*
|
28 |
|
29 |
EXPOSE 7860
|
30 |
ENV GRADIO_SERVER_NAME="0.0.0.0"
|