Spaces:
Runtime error
Runtime error
Update Dockerfile
Browse files- Dockerfile +2 -2
Dockerfile
CHANGED
@@ -6,7 +6,7 @@ WORKDIR /code
|
|
6 |
|
7 |
# Copy the current directory contents into the container at /code
|
8 |
COPY ./requirements.txt /code/requirements.txt
|
9 |
-
COPY extract_zip.py .
|
10 |
|
11 |
# Install requirements.txt
|
12 |
RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
|
@@ -25,5 +25,5 @@ WORKDIR $HOME/app
|
|
25 |
# Copy the current directory contents into the container at $HOME/app setting the owner to the user
|
26 |
COPY --chown=user . $HOME/app
|
27 |
|
28 |
-
CMD ["python", "extract_zip.py"]
|
29 |
CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "7860"]
|
|
|
6 |
|
7 |
# Copy the current directory contents into the container at /code
|
8 |
COPY ./requirements.txt /code/requirements.txt
|
9 |
+
#COPY extract_zip.py .
|
10 |
|
11 |
# Install requirements.txt
|
12 |
RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
|
|
|
25 |
# Copy the current directory contents into the container at $HOME/app setting the owner to the user
|
26 |
COPY --chown=user . $HOME/app
|
27 |
|
28 |
+
#CMD ["python", "extract_zip.py"]
|
29 |
CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "7860"]
|